| Package | Description |
|---|---|
| com.aspectran.web.support.cors |
| Modifier and Type | Field | Description |
|---|---|---|
static CorsException |
CorsException.INVALID_ACTUAL_REQUEST |
Invalid simple / actual request.
|
static CorsException |
CorsException.INVALID_PREFLIGHT_REQUEST |
Invalid preflight request.
|
static CorsException |
CorsException.MISSING_ACCESS_CONTROL_REQUEST_METHOD_HEADER |
Missing Access-Control-Request-Method header.
|
static CorsException |
CorsException.ORIGIN_DENIED |
CORS origin denied exception.
|
static CorsException |
CorsException.UNSUPPORTED_METHOD |
Unsupported HTTP method.
|
static CorsException |
CorsException.UNSUPPORTED_REQUEST_HEADER |
Unsupported HTTP request header.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
DefaultCorsProcessor.rejectRequest(Translet translet,
CorsException ce) |
Invoked when one of the CORS checks failed.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
CorsProcessor.processActualRequest(Translet translet) |
Process a simple or actual CORS request.
|
void |
DefaultCorsProcessor.processActualRequest(Translet translet) |
|
void |
CorsProcessor.processPreflightRequest(Translet translet) |
Process a preflight CORS request.
|
void |
DefaultCorsProcessor.processPreflightRequest(Translet translet) |
|
protected void |
DefaultCorsProcessor.rejectRequest(Translet translet,
CorsException ce) |
Invoked when one of the CORS checks failed.
|
Copyright © 2008–2017 The Aspectran Project. All rights reserved.