Uses of Class
org.springframework.integration.http.dsl.HttpInboundEndpointSupportSpec.CrossOriginSpec
Package
Description
Provides HTTP Components support for Spring Integration Java DSL.
-
Uses of HttpInboundEndpointSupportSpec.CrossOriginSpec in org.springframework.integration.http.dsl
Modifier and TypeMethodDescriptionHttpInboundEndpointSupportSpec.CrossOriginSpec.allowCredentials
(Boolean allowCredentials) Whether the browser should include any cookies associated with the domain of the request being annotated.HttpInboundEndpointSupportSpec.CrossOriginSpec.allowedHeaders
(String... allowedHeaders) List of request headers that can be used during the actual request.HttpInboundEndpointSupportSpec.CrossOriginSpec.exposedHeaders
(String... exposedHeaders) List of response headers that the user-agent will allow the client to access.HttpInboundEndpointSupportSpec.CrossOriginSpec.maxAge
(long maxAge) The maximum age (in seconds) of the cache duration for pre-flight responses.HttpInboundEndpointSupportSpec.CrossOriginSpec.method
(RequestMethod... method) List of supported HTTP request methods, e.g.List of allowed origins, e.g.Modifier and TypeMethodDescriptionHttpInboundEndpointSupportSpec.crossOrigin
(Consumer<HttpInboundEndpointSupportSpec.CrossOriginSpec> crossOrigin)