|
aerogear-controller 1.0.1 | ||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Packages that use Cors | |
|---|---|
| org.jboss.aerogear.controller.router.decorators.cors | |
| Uses of Cors in org.jboss.aerogear.controller.router.decorators.cors |
|---|
| Methods in org.jboss.aerogear.controller.router.decorators.cors that return Cors | |
|---|---|
Cors |
Cors.setAllowCredentials(javax.servlet.http.HttpServletResponse response)
Set the Cors.ResponseHeader.ALLOW_CREDENTIALS to 'true' if allowCookies was set set to true in the underlying
CorsConfiguration. |
Cors |
Cors.setAllowHeaders(javax.servlet.http.HttpServletResponse response)
Set the Cors.ResponseHeader.ALLOW_HEADERS to configured values. |
Cors |
Cors.setAllowMethods(javax.servlet.http.HttpServletResponse response)
Set the Cors.ResponseHeader.ALLOW_METHODS to the the configured comma separated list of http methods. |
Cors |
Cors.setAnyOrigin(javax.servlet.http.HttpServletResponse response)
Set the Cors.ResponseHeader.ALLOW_ORIGIN to '*'. |
Cors |
Cors.setEchoOrigin(javax.servlet.http.HttpServletResponse response)
Set the Cors.ResponseHeader.ALLOW_ORIGIN to be the same value that was passed in the 'Origin' request header. |
Cors |
Cors.setExposeHeaders(javax.servlet.http.HttpServletResponse response)
Set the Cors.ResponseHeader.EXPOSE_HEADERS to the the configured comma separated list of headers. |
Cors |
Cors.setMaxAge(javax.servlet.http.HttpServletResponse response)
Set the Cors.ResponseHeader.MAX_AGE to the configured max age value. |
Cors |
Cors.setOrigin(javax.servlet.http.HttpServletResponse response)
Set the Cors.ResponseHeader.ALLOW_ORIGIN to either echo the 'Origin' or to support '*' depending on the underlying
CorsConfiguration setting. |
Cors |
Cors.setOrigin(javax.servlet.http.HttpServletResponse response,
String origin)
Set the Cors.ResponseHeader.ALLOW_ORIGIN to the passed in value. |
| Methods in org.jboss.aerogear.controller.router.decorators.cors with parameters of type Cors | |
|---|---|
private void |
CorsHandler.handlePreflight(Cors cors,
javax.servlet.http.HttpServletResponse response)
|
private void |
CorsHandler.handleSimpleRequest(Cors cors,
javax.servlet.http.HttpServletResponse response)
|
|
aerogear-controller 1.0.1 | ||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||