CorsRule.Builder |
CorsRule.Builder.allowedHeaders(String... allowedHeaders) |
Specifies which headers are allowed in a preflight OPTIONS request through the
Access-Control-Request-Headers header.
|
CorsRule.Builder |
CorsRule.Builder.allowedHeaders(Collection<String> allowedHeaders) |
Specifies which headers are allowed in a preflight OPTIONS request through the
Access-Control-Request-Headers header.
|
CorsRule.Builder |
CorsRule.Builder.allowedMethods(Collection<MethodName> allowedMethods) |
Identifies an HTTP method that the origin that is specified in the rule is allowed to execute.
|
CorsRule.Builder |
CorsRule.Builder.allowedMethods(MethodName... allowedMethods) |
Identifies an HTTP method that the origin that is specified in the rule is allowed to execute.
|
CorsRule.Builder |
CorsRule.Builder.allowedMethodsWithStrings(String... allowedMethods) |
Identifies an HTTP method that the origin that is specified in the rule is allowed to execute.
|
CorsRule.Builder |
CorsRule.Builder.allowedMethodsWithStrings(Collection<String> allowedMethods) |
Identifies an HTTP method that the origin that is specified in the rule is allowed to execute.
|
CorsRule.Builder |
CorsRule.Builder.allowedOrigins(String... allowedOrigins) |
One or more response headers that you want users to be able to access from their applications (for example,
from a JavaScript XMLHttpRequest object).
|
CorsRule.Builder |
CorsRule.Builder.allowedOrigins(Collection<String> allowedOrigins) |
One or more response headers that you want users to be able to access from their applications (for example,
from a JavaScript XMLHttpRequest object).
|
static CorsRule.Builder |
CorsRule.builder() |
|
CorsRule.Builder |
CorsRule.Builder.exposeHeaders(String... exposeHeaders) |
One or more headers in the response that you want users to be able to access from their applications (for
example, from a JavaScript XMLHttpRequest object).
|
CorsRule.Builder |
CorsRule.Builder.exposeHeaders(Collection<String> exposeHeaders) |
One or more headers in the response that you want users to be able to access from their applications (for
example, from a JavaScript XMLHttpRequest object).
|
CorsRule.Builder |
CorsRule.Builder.maxAgeSeconds(Integer maxAgeSeconds) |
The time in seconds that your browser caches the preflight response for the specified resource.
|
CorsRule.Builder |
CorsRule.toBuilder() |
|