| Package | Description |
|---|---|
| org.osgl.mvc | |
| org.osgl.mvc.result |
| Modifier and Type | Method and Description |
|---|---|
static void |
MvcConfig.applyAfterCommitResultHandler(Result result,
org.osgl.http.H.Request<?> req,
org.osgl.http.H.Response<?> resp) |
static void |
MvcConfig.applyBeforeCommitResultHandler(Result result,
org.osgl.http.H.Request req,
org.osgl.http.H.Response resp) |
| Modifier and Type | Method and Description |
|---|---|
static void |
MvcConfig.afterCommitResultHandler(org.osgl.Osgl.Func3<Result,org.osgl.http.H.Request<?>,org.osgl.http.H.Response<?>,?> afterCommitResultHandler) |
static void |
MvcConfig.beforeCommitResultHandler(org.osgl.Osgl.Func3<Result,org.osgl.http.H.Request<?>,org.osgl.http.H.Response<?>,?> beforeCommitResultHandler) |
| Modifier and Type | Class and Description |
|---|---|
class |
Accepted |
class |
BadRequest
Indicate a client error
|
class |
Conflict
Indicate a 404 Not found response
|
class |
Created |
class |
ErrorResult
Base class for Error results, i.e result with status code between 400 and 600 (excluded)
|
class |
Forbidden
HTTP 403 Forbidden
|
class |
MethodNotAllowed
Indicate a 405 Method not allowed response
|
class |
NoContent
Render NO_CONTENT response
|
class |
NoResult
Deprecated.
|
class |
NotAcceptable
Indicate a 406 Not Acceptable
|
class |
NotFound
Indicate a 404 Not found response
|
class |
NotImplemented
Indicate a 501 Not implemented response
|
class |
NotModified |
class |
Ok |
class |
Redirect |
class |
RenderBinary |
class |
RenderContent |
class |
RenderHtml |
class |
RenderJSON |
class |
RenderText
Render a text message
|
class |
RenderXML |
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 |
|---|---|
Result |
Result.status(org.osgl.http.H.Status status) |
Copyright © 2017. All Rights Reserved.