| Package | Description |
|---|---|
| org.osgl.mvc | |
| org.osgl.mvc.result |
| Modifier and Type | Method and Description |
|---|---|
Void |
ErrorPageRenderer.apply(org.osgl.http.H.Request request,
org.osgl.http.H.Response response,
ErrorResult error) |
protected String |
ErrorPageRenderer.renderTemplate(ErrorResult error,
org.osgl.http.H.Format format) |
| Modifier and Type | Class and Description |
|---|---|
class |
BadRequest
Indicate a client error
|
class |
Conflict
Indicate a 404 Not found response
|
class |
Forbidden
HTTP 403 Forbidden
|
class |
MethodNotAllowed
Indicate a 405 Method not allowed response
|
class |
NotAcceptable
Indicate a 406 Not Acceptable
|
class |
NotFound
Indicate a 404 Not found response
|
class |
NotImplemented
Indicate a 501 Not implemented response
|
class |
ServerError
Indicate an internal server error and set 500 status on response
|
class |
Unauthorized
HTTP 401 Unauthorized,
Note digest type is not supported yet
|
| Modifier and Type | Method and Description |
|---|---|
ErrorResult |
ErrorResult.attach(Object attachment) |
static ErrorResult |
ErrorResult.of(org.osgl.http.H.Status status) |
static ErrorResult |
ErrorResult.of(org.osgl.http.H.Status status,
int errorCode) |
static ErrorResult |
ErrorResult.of(org.osgl.http.H.Status status,
int errorCode,
String message,
Object... args) |
static ErrorResult |
ErrorResult.of(org.osgl.http.H.Status status,
int errorCode,
Throwable cause) |
static ErrorResult |
ErrorResult.of(org.osgl.http.H.Status status,
int errorCode,
Throwable cause,
String message,
Object... args) |
static ErrorResult |
ErrorResult.of(org.osgl.http.H.Status status,
String message,
Object... args) |
static ErrorResult |
ErrorResult.of(org.osgl.http.H.Status status,
Throwable cause,
String message,
Object... args) |
Copyright © 2017. All Rights Reserved.