Package org.restheart.exchange
Interface CORSHeaders
- All Known Subinterfaces:
BsonService,ByteArrayService,JsonService,Service<R,,S> StringService
public interface CORSHeaders
- Author:
- Andrea Di Cesare <andrea@softinstigate.com> Defines the CORS headers to be added to the response
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final io.undertow.util.HttpStringstatic final io.undertow.util.HttpStringstatic final io.undertow.util.HttpStringstatic final io.undertow.util.HttpStringstatic final io.undertow.util.HttpStringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Method Summary
-
Field Details
-
ACCESS_CONTROL_EXPOSE_HEADERS
static final io.undertow.util.HttpString ACCESS_CONTROL_EXPOSE_HEADERS -
ACCESS_CONTROL_ALLOW_CREDENTIAL
static final io.undertow.util.HttpString ACCESS_CONTROL_ALLOW_CREDENTIAL -
ACCESS_CONTROL_ALLOW_ORIGIN
static final io.undertow.util.HttpString ACCESS_CONTROL_ALLOW_ORIGIN -
ACCESS_CONTROL_ALLOW_METHODS
static final io.undertow.util.HttpString ACCESS_CONTROL_ALLOW_METHODS -
ACCESS_CONTROL_ALLOW_HEADERS
static final io.undertow.util.HttpString ACCESS_CONTROL_ALLOW_HEADERS -
DEFAULT_ACCESS_CONTROL_EXPOSE_HEADERS
-
DEFAULT_ACCESS_CONTROL_ALLOW_CREDENTIALS
- See Also:
-
DEFAULT_ACCESS_CONTROL_ALLOW_ORIGIN
- See Also:
-
DEFAULT_ACCESS_CONTROL_ALLOW_METHODS
- See Also:
-
DEFAULT_ACCESS_CONTROL_ALLOW_HEADERS
- See Also:
-
-
Method Details
-
accessControlExposeHeaders
- Returns:
- the values of the Access-Control-Expose-Headers
-
accessControlAllowCredentials
- Returns:
- the values of the Access-Control-Allow-Credentials
-
accessControlAllowOrigin
- Returns:
- the values of the Access-Control-Allow-Origin
-
accessControlAllowMethods
- Returns:
- the values of the Access-Control-Allow-Methods
-
accessControlAllowHeaders
- Returns:
- the values of the Access-Control-Allow-Methods
-