Package org.elasticsearch.http
Class CorsHandler.Config
java.lang.Object
org.elasticsearch.http.CorsHandler.Config
- Enclosing class:
- CorsHandler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
isOriginAllowed(String origin)
long
maxAge()
origins()
toString()
-
Constructor Details
-
Config
public Config(org.elasticsearch.http.CorsHandler.Config.Builder builder)
-
-
Method Details
-
isCorsSupportEnabled
public boolean isCorsSupportEnabled() -
isAnyOriginSupported
public boolean isAnyOriginSupported() -
isOriginAllowed
-
isCredentialsAllowed
public boolean isCredentialsAllowed() -
allowedRequestMethods
-
allowedRequestHeaders
-
maxAge
public long maxAge() -
origins
-
toString
-