クラスの使用
org.springframework.integration.http.dsl.HttpInboundEndpointSupportSpec.CrossOriginSpec
パッケージ
説明
Spring Integration Java DSL の HTTP コンポーネントサポートを提供します。
org.springframework.integration.http.dsl 内の HttpInboundEndpointSupportSpec.CrossOriginSpec 使用
修飾子と型メソッド説明HttpInboundEndpointSupportSpec.CrossOriginSpec.allowCredentials(BooleanSE allowCredentials) アノテーションが付けられているリクエストのドメインに関連付けられた Cookie をブラウザーに含める必要があるかどうか。HttpInboundEndpointSupportSpec.CrossOriginSpec.allowedHeaders(StringSE... allowedHeaders) 実際のリクエスト中に使用できるリクエストヘッダーのリスト。HttpInboundEndpointSupportSpec.CrossOriginSpec.exposedHeaders(StringSE... exposedHeaders) ユーザーエージェントがクライアントにアクセスを許可するレスポンスヘッダーのリスト。HttpInboundEndpointSupportSpec.CrossOriginSpec.maxAge(long maxAge) プリフライトレスポンスのキャッシュ期間の最大経過時間(秒単位)。HttpInboundEndpointSupportSpec.CrossOriginSpec.method(RequestMethod... method) サポートされている HTTP リクエストメソッドのリスト。例:許可されたオリジンのリスト(例:型 HttpInboundEndpointSupportSpec.CrossOriginSpec の型引数を持つ org.springframework.integration.http.dsl のメソッドパラメーター修飾子と型メソッド説明HttpInboundEndpointSupportSpec.crossOrigin(ConsumerSE<HttpInboundEndpointSupportSpec.CrossOriginSpec> crossOrigin)