| Package | Description |
|---|---|
| org.osgl.mvc | |
| org.osgl.mvc.result |
| Class and Description |
|---|
| ErrorResult
Base class for Error results, i.e result with status code between 400 and 600 (excluded)
|
| Result |
| Class and Description |
|---|
| Accepted |
| BadGateway
The server was acting as a gateway or proxy and received an invalid response from the upstream server.
|
| BadRequest
Indicate a client error
|
| Conflict
Indicates that the request could not be processed because of conflict in the request, such as an edit conflict between multiple simultaneous updates.
|
| Created |
| ErrorResult
Base class for Error results, i.e result with status code between 400 and 600 (excluded)
|
| ExpectationFailed
The server cannot meet the requirements of the Expect request-header field.
|
| Forbidden
HTTP 403 Forbidden
|
| Found |
| GatewayTimeout
The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.
|
| Gone
Indicates that the resource requested is no longer available and will not be available again.
|
| InternalServerError
Indicate an internal server error and set 500 status on response
|
| MethodNotAllowed
Indicate a 405 Method not allowed response
|
| MovedPermanently |
| NoContent
Render NO_CONTENT response
|
| NoResult
Deprecated.
|
| NotAcceptable
The requested resource is capable of generating only content not acceptable according to the Accept headers sent in the request.
|
| NotFound
Indicate a 404 Not found response
|
| NotImplemented
Indicate a 501 Not implemented response
|
| NotModified |
| Ok |
| PaymentRequired
Reserved for future use.
|
| PermanentRedirect |
| PreconditionRequired
The origin server requires the request to be conditional.
|
| Redirect |
| Redirect.F |
| RedirectBase
Base class for different Redirect result
|
| RenderBinary |
| RenderContent |
| RenderHtml |
| RenderJSON |
| RenderText
Render a text message
|
| RenderXML |
| RequestTimeout
The server timed out waiting for the request.
|
| Result |
| Result.Payload |
| SeeOther |
| ServerError
Deprecated.
|
| ServiceUnavailable
The server is currently unavailable (because it is overloaded or down for maintenance).
|
| TemporaryRedirect |
| TooManyRequests
The user has sent too many requests in a given amount of time.
|
| Unauthorized
HTTP 401 Unauthorized,
|
| UnavailableForLegalReasons
A server operator has received a legal demand to deny access to a resource or to a set of resources that includes the requested resource.
|
| UnsupportedMediaType
The request entity has a media type which the server or resource does not support.
|
Copyright © 2014–2018 OSGL (Open Source General Library). All rights reserved.