A C D E F G H I J L N O P R S V 
All Classes All Packages

A

ACTUAL - org.ebaysf.web.cors.CORSFilter.CORSRequestType
A HTTP request that needs to be pre-flighted.
allowedHttpHeaders - Variable in class org.ebaysf.web.cors.CORSFilter
A Collection of headers consisting of zero or more header field names that are supported by the resource.
allowedHttpMethods - Variable in class org.ebaysf.web.cors.CORSFilter
A Collection of methods consisting of zero or more methods that are supported by the resource.
allowedOrigins - Variable in class org.ebaysf.web.cors.CORSFilter
A Collection of origins consisting of zero or more origins that are allowed access to the resource.
anyOriginAllowed - Variable in class org.ebaysf.web.cors.CORSFilter
Determines if any origin is allowed to make request.

C

checkRequestType(HttpServletRequest) - Method in class org.ebaysf.web.cors.CORSFilter
Determines the request type.
COMPLEX_HTTP_METHODS - Static variable in class org.ebaysf.web.cors.CORSFilter
Collection of non-simple HTTP methods.
CORSFilter - Class in org.ebaysf.web.cors
A Filter that enable client-side cross-origin requests by implementing W3C's CORS (Cross-Origin Resource Sharing) specification for resources.
CORSFilter() - Constructor for class org.ebaysf.web.cors.CORSFilter
 
CORSFilter.CORSRequestType - Enum in org.ebaysf.web.cors
Enumerates varies types of CORS requests.
CORSRequestType() - Constructor for enum org.ebaysf.web.cors.CORSFilter.CORSRequestType
 

D

decorateCORSProperties(HttpServletRequest, CORSFilter.CORSRequestType) - Static method in class org.ebaysf.web.cors.CORSFilter
Decorates the HttpServletRequest, with CORS attributes.
decorateRequest - Variable in class org.ebaysf.web.cors.CORSFilter
Determines if the request should be decorated or not.
DEFAULT_ALLOWED_HTTP_HEADERS - Static variable in class org.ebaysf.web.cors.CORSFilter
By default, following headers are supported: Origin,Accept,X-Requested-With, Content-Type, Access-Control-Request-Method, and Access-Control-Request-Headers.
DEFAULT_ALLOWED_HTTP_METHODS - Static variable in class org.ebaysf.web.cors.CORSFilter
By default, following methods are supported: GET, POST, HEAD and OPTIONS.
DEFAULT_ALLOWED_ORIGINS - Static variable in class org.ebaysf.web.cors.CORSFilter
By default, all origins are allowed to make requests.
DEFAULT_DECORATE_REQUEST - Static variable in class org.ebaysf.web.cors.CORSFilter
By default, request is decorated with CORS attributes.
DEFAULT_EXPOSED_HEADERS - Static variable in class org.ebaysf.web.cors.CORSFilter
By default, none of the headers are exposed in response.
DEFAULT_LOGGING_ENABLED - Static variable in class org.ebaysf.web.cors.CORSFilter
By default, access log logging is turned off
DEFAULT_PREFLIGHT_MAXAGE - Static variable in class org.ebaysf.web.cors.CORSFilter
By default, time duration to cache pre-flight response is 30 mins.
DEFAULT_SUPPORTS_CREDENTIALS - Static variable in class org.ebaysf.web.cors.CORSFilter
By default, support credentials is turned on.
destroy() - Method in class org.ebaysf.web.cors.CORSFilter
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class org.ebaysf.web.cors.CORSFilter
 

E

exposedHeaders - Variable in class org.ebaysf.web.cors.CORSFilter
A Collection of exposed headers consisting of zero or more header field names of headers other than the simple response headers that the resource might use and can be exposed.

F

filterConfig - Variable in class org.ebaysf.web.cors.CORSFilter
Holds filter configuration.

G

getAllowedHttpHeaders() - Method in class org.ebaysf.web.cors.CORSFilter
Returns a Set of headers support by resource.
getAllowedHttpMethods() - Method in class org.ebaysf.web.cors.CORSFilter
Returns a Set of HTTP methods that are allowed to make requests.
getAllowedOrigins() - Method in class org.ebaysf.web.cors.CORSFilter
Returns the Set of allowed origins that are allowed to make requests.
getExposedHeaders() - Method in class org.ebaysf.web.cors.CORSFilter
Returns a Set of headers that should be exposed by browser.
getPreflightMaxAge() - Method in class org.ebaysf.web.cors.CORSFilter
Returns the preflight response cache time in seconds.

H

handleInvalidCORS(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class org.ebaysf.web.cors.CORSFilter
Handles a CORS request that violates specification.
handleNonCORS(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class org.ebaysf.web.cors.CORSFilter
Handles a request, that's not a CORS request, but is a valid request i.e.
handlePreflightCORS(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class org.ebaysf.web.cors.CORSFilter
Handles CORS pre-flight request.
handleSimpleCORS(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class org.ebaysf.web.cors.CORSFilter
Handles a CORS request of type CORSFilter.CORSRequestType.SIMPLE.
HTTP_METHODS - Static variable in class org.ebaysf.web.cors.CORSFilter
Collection of HTTP methods.
HTTP_REQUEST_ATTRIBUTE_IS_CORS_REQUEST - Static variable in class org.ebaysf.web.cors.CORSFilter
Boolean value, suggesting if the request is a CORS request or not.
HTTP_REQUEST_ATTRIBUTE_ORIGIN - Static variable in class org.ebaysf.web.cors.CORSFilter
Attribute that contains the origin of the request.
HTTP_REQUEST_ATTRIBUTE_PREFIX - Static variable in class org.ebaysf.web.cors.CORSFilter
The prefix to a CORS request attribute.
HTTP_REQUEST_ATTRIBUTE_REQUEST_HEADERS - Static variable in class org.ebaysf.web.cors.CORSFilter
Request headers sent as 'Access-Control-Request-Headers' header, for pre-flight request.
HTTP_REQUEST_ATTRIBUTE_REQUEST_TYPE - Static variable in class org.ebaysf.web.cors.CORSFilter
Type of CORS request, of type CORSFilter.CORSRequestType.

I

init(FilterConfig) - Method in class org.ebaysf.web.cors.CORSFilter
 
INVALID_CORS - org.ebaysf.web.cors.CORSFilter.CORSRequestType
An invalid CORS request, i.e.
isAnyOriginAllowed() - Method in class org.ebaysf.web.cors.CORSFilter
Determines if any origin is allowed to make CORS request.
isLoggingEnabled() - Method in class org.ebaysf.web.cors.CORSFilter
Determines if logging is enabled or not.
isOriginAllowed(String) - Method in class org.ebaysf.web.cors.CORSFilter
Checks if the Origin is allowed to make a CORS request.
isSupportsCredentials() - Method in class org.ebaysf.web.cors.CORSFilter
Determines is supports credentials is enabled
isValidOrigin(String) - Static method in class org.ebaysf.web.cors.CORSFilter
Checks if a given origin is valid or not.

J

join(Collection<String>, String) - Static method in class org.ebaysf.web.cors.CORSFilter
Joins elements of Set into a string, where each element is separated by the provided separator.

L

log(String) - Method in class org.ebaysf.web.cors.CORSFilter
 
loggingEnabled - Variable in class org.ebaysf.web.cors.CORSFilter
Controls access log logging.

N

NOT_CORS - org.ebaysf.web.cors.CORSFilter.CORSRequestType
Not a CORS request, but a normal request.

O

org.ebaysf.web.cors - package org.ebaysf.web.cors
Provides classes that implements W3C's CORS specification.

P

PARAM_CORS_ALLOWED_HEADERS - Static variable in class org.ebaysf.web.cors.CORSFilter
Key to retrieve allowed headers from FilterConfig.
PARAM_CORS_ALLOWED_METHODS - Static variable in class org.ebaysf.web.cors.CORSFilter
Key to retrieve allowed methods from FilterConfig.
PARAM_CORS_ALLOWED_ORIGINS - Static variable in class org.ebaysf.web.cors.CORSFilter
Key to retrieve allowed origins from FilterConfig.
PARAM_CORS_EXPOSED_HEADERS - Static variable in class org.ebaysf.web.cors.CORSFilter
Key to retrieve exposed headers from FilterConfig.
PARAM_CORS_LOGGING_ENABLED - Static variable in class org.ebaysf.web.cors.CORSFilter
Key to retrieve access log logging flag.
PARAM_CORS_PREFLIGHT_MAXAGE - Static variable in class org.ebaysf.web.cors.CORSFilter
Key to retrieve preflight max age from FilterConfig.
PARAM_CORS_REQUEST_DECORATE - Static variable in class org.ebaysf.web.cors.CORSFilter
Key to determine if request should be decorated.
PARAM_CORS_SUPPORT_CREDENTIALS - Static variable in class org.ebaysf.web.cors.CORSFilter
Key to retrieve support credentials from FilterConfig.
parseAndStore(String, String, String, String, String, String, String, String) - Method in class org.ebaysf.web.cors.CORSFilter
Parses each param-value and populates configuration variables.
parseStringToSet(String) - Method in class org.ebaysf.web.cors.CORSFilter
Takes a comma separated list and returns a Set.
PRE_FLIGHT - org.ebaysf.web.cors.CORSFilter.CORSRequestType
A pre-flight CORS request, to get meta information, before a non-simple HTTP request is sent.
preflightMaxAge - Variable in class org.ebaysf.web.cors.CORSFilter
Indicates (in seconds) how long the results of a pre-flight request can be cached in a pre-flight result cache.

R

REQUEST_HEADER_ACCESS_CONTROL_REQUEST_HEADERS - Static variable in class org.ebaysf.web.cors.CORSFilter
The Access-Control-Request-Headers header indicates which headers will be used in the actual request as part of the preflight request.
REQUEST_HEADER_ACCESS_CONTROL_REQUEST_METHOD - Static variable in class org.ebaysf.web.cors.CORSFilter
The Access-Control-Request-Method header indicates which method will be used in the actual request as part of the preflight request.
REQUEST_HEADER_ORIGIN - Static variable in class org.ebaysf.web.cors.CORSFilter
The Origin header indicates where the cross-origin request or preflight request originates from.
RESPONSE_HEADER_ACCESS_CONTROL_ALLOW_CREDENTIALS - Static variable in class org.ebaysf.web.cors.CORSFilter
The Access-Control-Allow-Credentials header indicates whether the response to request can be exposed when the omit credentials flag is unset.
RESPONSE_HEADER_ACCESS_CONTROL_ALLOW_HEADERS - Static variable in class org.ebaysf.web.cors.CORSFilter
The Access-Control-Allow-Headers header indicates, as part of the response to a preflight request, which header field names can be used during the actual request.
RESPONSE_HEADER_ACCESS_CONTROL_ALLOW_METHODS - Static variable in class org.ebaysf.web.cors.CORSFilter
The Access-Control-Allow-Methods header indicates, as part of the response to a preflight request, which methods can be used during the actual request.
RESPONSE_HEADER_ACCESS_CONTROL_ALLOW_ORIGIN - Static variable in class org.ebaysf.web.cors.CORSFilter
The Access-Control-Allow-Origin header indicates whether a resource can be shared based by returning the value of the Origin request header in the response.
RESPONSE_HEADER_ACCESS_CONTROL_EXPOSE_HEADERS - Static variable in class org.ebaysf.web.cors.CORSFilter
The Access-Control-Expose-Headers header indicates which headers are safe to expose to the API of a CORS API specification
RESPONSE_HEADER_ACCESS_CONTROL_MAX_AGE - Static variable in class org.ebaysf.web.cors.CORSFilter
The Access-Control-Max-Age header indicates how long the results of a preflight request can be cached in a preflight result cache.

S

SIMPLE - org.ebaysf.web.cors.CORSFilter.CORSRequestType
A simple HTTP request, i.e.
SIMPLE_HTTP_METHODS - Static variable in class org.ebaysf.web.cors.CORSFilter
Collection of Simple HTTP methods.
SIMPLE_HTTP_REQUEST_CONTENT_TYPE_VALUES - Static variable in class org.ebaysf.web.cors.CORSFilter
Collection of Simple HTTP request headers.
SIMPLE_HTTP_REQUEST_HEADERS - Static variable in class org.ebaysf.web.cors.CORSFilter
Collection of Simple HTTP request headers.
SIMPLE_HTTP_RESPONSE_HEADERS - Static variable in class org.ebaysf.web.cors.CORSFilter
Collection of Simple HTTP request headers.
supportsCredentials - Variable in class org.ebaysf.web.cors.CORSFilter
A supports credentials flag that indicates whether the resource supports user credentials in the request.

V

valueOf(String) - Static method in enum org.ebaysf.web.cors.CORSFilter.CORSRequestType
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.ebaysf.web.cors.CORSFilter.CORSRequestType
Returns an array containing the constants of this enum type, in the order they are declared.
A C D E F G H I J L N O P R S V 
All Classes All Packages