AbstractCorsProcessor, DefaultCorsProcessorpublic interface CorsProcessor
| Modifier and Type | Method | Description |
|---|---|---|
void |
processActualRequest(Translet translet) |
Process a simple or actual CORS request.
|
void |
processPreflightRequest(Translet translet) |
Process a preflight CORS request.
|
void |
sendError(Translet translet) |
Sends an error response to the client using the specified status.
|
void processActualRequest(Translet translet) throws CorsException, java.io.IOException
translet - the transletCorsException - if the request is invalid or denied.java.io.IOException - in case of I/O errorsvoid processPreflightRequest(Translet translet) throws CorsException, java.io.IOException
CORS specification: PreflightRequest
translet - the transletCorsException - if the request is invalid or denied.java.io.IOException - in case of I/O errorsvoid sendError(Translet translet) throws java.io.IOException
translet - the transletjava.io.IOException - in case of I/O errorsCopyright © 2008–2017 The Aspectran Project. All rights reserved.