Skip navigation links
A B C D E F G H I J L M N O P R S T U W _ 

A

Accepted - Exception in org.osgl.mvc.result
 
Accepted(String) - Constructor for exception org.osgl.mvc.result.Accepted
 
Action - Annotation Type in org.osgl.mvc.annotation
The Action annotation is used to mark a method (the action handler) that should be executed to handle a certain http request
ActionUtil - Annotation Type in org.osgl.mvc.annotation
Mark an method as an action util method.
addPredefinedBinder(Class<T>, Binder<T>) - Static method in class org.osgl.mvc.util.Binder
 
After - Annotation Type in org.osgl.mvc.annotation
The After annotation is used to mark a method (the after interceptor) that should be executed after executing controller action method and before rendering view to response
afterCommitResultHandler(Osgl.Func3<Result, H.Request<?>, H.Response<?>, ?>) - Static method in class org.osgl.mvc.MvcConfig
 
apply(H.Request, H.Response, ErrorResult) - Method in class org.osgl.mvc.ErrorPageRenderer
 
apply(H.Request, H.Response) - Method in exception org.osgl.mvc.result.Accepted
 
apply(H.Request, H.Response) - Method in exception org.osgl.mvc.result.Created
 
apply(H.Request, H.Response) - Method in exception org.osgl.mvc.result.NoContent
 
apply(H.Request, H.Response) - Method in exception org.osgl.mvc.result.NotModified
 
apply(H.Request, H.Response) - Method in exception org.osgl.mvc.result.Redirect
 
apply(H.Request, H.Response) - Method in exception org.osgl.mvc.result.RenderBinary
 
apply(H.Request, H.Response) - Method in exception org.osgl.mvc.result.RenderContent
 
apply(H.Request, H.Response) - Method in exception org.osgl.mvc.result.Result
 
apply(H.Request, H.Response) - Method in exception org.osgl.mvc.result.Unauthorized
 
apply(T, String, ParamValueProvider) - Method in class org.osgl.mvc.util.Binder
 
applyAfterCommitHandler(H.Request, H.Response) - Method in exception org.osgl.mvc.result.Result
 
applyAfterCommitResultHandler(Result, H.Request<?>, H.Response<?>) - Static method in class org.osgl.mvc.MvcConfig
 
applyBeforeCommitHandler(H.Request, H.Response) - Method in exception org.osgl.mvc.result.Result
 
applyBeforeCommitResultHandler(Result, H.Request, H.Response) - Static method in class org.osgl.mvc.MvcConfig
 
applyMessage(H.Request, H.Response) - Method in exception org.osgl.mvc.result.ErrorResult
 
applyMessage(H.Request, H.Response) - Method in exception org.osgl.mvc.result.Result
 
applyStatus(H.Response) - Method in exception org.osgl.mvc.result.Result
 
attach(Object) - Method in exception org.osgl.mvc.result.ErrorResult
 
attach(Object) - Method in class org.osgl.mvc.result.Result.Payload
 
attachment() - Method in exception org.osgl.mvc.result.ErrorResult
 
attachment(Class<T>) - Method in exception org.osgl.mvc.result.ErrorResult
 
attachment - Variable in class org.osgl.mvc.result.Result.Payload
 
attribute(String, Object) - Method in class org.osgl.mvc.util.Binder
Set attribute of this binder.
attribute(String) - Method in class org.osgl.mvc.util.Binder
Get attribute of this binder by key specified
attributes - Variable in class org.osgl.mvc.util.Binder
 
attributes(Map<String, Object>) - Method in class org.osgl.mvc.util.Binder
Set attributes to this binder Note use this method only on new resolver instance instead of shared instance

B

BadRequest - Exception in org.osgl.mvc.result
Indicate a client error
BadRequest() - Constructor for exception org.osgl.mvc.result.BadRequest
 
BadRequest(String, Object...) - Constructor for exception org.osgl.mvc.result.BadRequest
 
BadRequest(Throwable, String, Object...) - Constructor for exception org.osgl.mvc.result.BadRequest
 
BadRequest(Throwable) - Constructor for exception org.osgl.mvc.result.BadRequest
 
BadRequest(int) - Constructor for exception org.osgl.mvc.result.BadRequest
 
BadRequest(int, String, Object...) - Constructor for exception org.osgl.mvc.result.BadRequest
 
BadRequest(int, Throwable, String, Object...) - Constructor for exception org.osgl.mvc.result.BadRequest
 
BadRequest(int, Throwable) - Constructor for exception org.osgl.mvc.result.BadRequest
 
Before - Annotation Type in org.osgl.mvc.annotation
The Before annotation is used to mark a method (the before interceptor) that should be executed before executing controller action method.
beforeCommitResultHandler(Osgl.Func3<Result, H.Request<?>, H.Response<?>, ?>) - Static method in class org.osgl.mvc.MvcConfig
 
Bind - Annotation Type in org.osgl.mvc.annotation
The Bind annotation is used to specify a binding from a group of HTTP parameters to an action handler method parameter, controller field or an annotation
Binder<T> - Class in org.osgl.mvc.util
A Binder resolves to a certain type of argument out from a String-String map
Binder() - Constructor for class org.osgl.mvc.util.Binder
 
Binder(Class<T>) - Constructor for class org.osgl.mvc.util.Binder
 
BOOLEAN_ARRAY - Static variable in class org.osgl.mvc.util.Binder
 
BYTE_ARRAY - Static variable in class org.osgl.mvc.util.Binder
 

C

Catch - Annotation Type in org.osgl.mvc.annotation
The Catch annotation is used to mark a method (the exception interceptor) that should be executed when there is an exception thrown out during the action method executing
cause - Variable in class org.osgl.mvc.result.Result.Payload
 
cause(Throwable) - Method in class org.osgl.mvc.result.Result.Payload
 
CHAR_ARRAY - Static variable in class org.osgl.mvc.util.Binder
 
cleanUp() - Static method in class org.osgl.mvc.HttpContextManager
Clean up context, release thread local etc
clearAttributes() - Method in class org.osgl.mvc.util.Binder
Clear all attributes on this binder
clearThreadLocals() - Static method in exception org.osgl.mvc.result.Result
 
Conflict - Exception in org.osgl.mvc.result
Indicate a 404 Not found response
Conflict() - Constructor for exception org.osgl.mvc.result.Conflict
 
Conflict(String, Object...) - Constructor for exception org.osgl.mvc.result.Conflict
 
Conflict(Throwable, String, Object...) - Constructor for exception org.osgl.mvc.result.Conflict
 
Conflict(Throwable) - Constructor for exception org.osgl.mvc.result.Conflict
 
Conflict(int) - Constructor for exception org.osgl.mvc.result.Conflict
 
Conflict(int, String, Object...) - Constructor for exception org.osgl.mvc.result.Conflict
 
Conflict(int, Throwable, String, Object...) - Constructor for exception org.osgl.mvc.result.Conflict
 
Conflict(int, Throwable) - Constructor for exception org.osgl.mvc.result.Conflict
 
content() - Method in exception org.osgl.mvc.result.RenderContent
 
cookiePrefix(String) - Static method in class org.osgl.mvc.MvcConfig
Set the cookie prefix for session and flash cookie
Created - Exception in org.osgl.mvc.result
 
Created(String) - Constructor for exception org.osgl.mvc.result.Created
 

D

DEF_COOKIE_PREFIX - Static variable in class org.osgl.mvc.MvcConfig
 
DEFAULT_RESOLVER() - Constructor for class org.osgl.mvc.annotation.Param.DEFAULT_RESOLVER
 
defaultMessage(H.Status) - Static method in exception org.osgl.mvc.result.ErrorResult
 
DeleteAction - Annotation Type in org.osgl.mvc.annotation
The DeleteAction annotation is used to mark a method (the action handler) that should be executed to handle a DELETE http request
DOUBLE_ARRAY - Static variable in class org.osgl.mvc.util.Binder
 

E

enableLocalizedErrorMsg() - Static method in class org.osgl.mvc.MvcConfig
 
equals(Object) - Method in exception org.osgl.mvc.result.Accepted
 
equals(Object) - Method in exception org.osgl.mvc.result.Created
 
equals(Object) - Method in exception org.osgl.mvc.result.Ok
 
errorCode() - Method in exception org.osgl.mvc.result.ErrorResult
 
errorCode - Variable in class org.osgl.mvc.result.Result.Payload
 
errorCode(int) - Method in class org.osgl.mvc.result.Result.Payload
 
errorMessage(H.Status) - Static method in class org.osgl.mvc.MvcConfig
Returns default error message id from http status
errorMessage(int) - Static method in class org.osgl.mvc.MvcConfig
Returns default error message id from http status code
ErrorPageRenderer - Class in org.osgl.mvc
 
ErrorPageRenderer() - Constructor for class org.osgl.mvc.ErrorPageRenderer
 
errorPageRenderer(ErrorPageRenderer) - Static method in class org.osgl.mvc.MvcConfig
 
errorPageRenderer() - Static method in class org.osgl.mvc.MvcConfig
 
ErrorResult - Exception in org.osgl.mvc.result
Base class for Error results, i.e result with status code between 400 and 600 (excluded)
ErrorResult(H.Status) - Constructor for exception org.osgl.mvc.result.ErrorResult
 
ErrorResult(H.Status, String) - Constructor for exception org.osgl.mvc.result.ErrorResult
 
ErrorResult(H.Status, String, Object...) - Constructor for exception org.osgl.mvc.result.ErrorResult
 
ErrorResult(H.Status, Throwable) - Constructor for exception org.osgl.mvc.result.ErrorResult
 
ErrorResult(H.Status, Throwable, String, Object...) - Constructor for exception org.osgl.mvc.result.ErrorResult
 
ErrorResult(H.Status, Integer) - Constructor for exception org.osgl.mvc.result.ErrorResult
 
ErrorResult(H.Status, Integer, String) - Constructor for exception org.osgl.mvc.result.ErrorResult
 
ErrorResult(H.Status, Integer, String, Object...) - Constructor for exception org.osgl.mvc.result.ErrorResult
 
ErrorResult(H.Status, Integer, Throwable) - Constructor for exception org.osgl.mvc.result.ErrorResult
 
ErrorResult(H.Status, Integer, Throwable, String, Object...) - Constructor for exception org.osgl.mvc.result.ErrorResult
 
etag(String) - Method in exception org.osgl.mvc.result.Created
 
etag() - Method in exception org.osgl.mvc.result.Created
 
etag() - Method in exception org.osgl.mvc.result.NotModified
 
etag - Variable in class org.osgl.mvc.result.Result.Payload
 
etag(String) - Method in class org.osgl.mvc.result.Result.Payload
 
etag() - Method in class org.osgl.mvc.result.Result.Payload
 

F

Finally - Annotation Type in org.osgl.mvc.annotation
The Finally annotation is used to mark a method (the finally interceptor) that should be executed after view rendered and sent to response
FLOAT_ARRAY - Static variable in class org.osgl.mvc.util.Binder
 
Forbidden - Exception in org.osgl.mvc.result
HTTP 403 Forbidden
Forbidden() - Constructor for exception org.osgl.mvc.result.Forbidden
 
Forbidden(int) - Constructor for exception org.osgl.mvc.result.Forbidden
 
Forbidden(String, Object...) - Constructor for exception org.osgl.mvc.result.Forbidden
 
Forbidden(int, String, Object...) - Constructor for exception org.osgl.mvc.result.Forbidden
 
Forbidden(Throwable, String, Object...) - Constructor for exception org.osgl.mvc.result.Forbidden
 
Forbidden(int, Throwable, String, Object...) - Constructor for exception org.osgl.mvc.result.Forbidden
 
Forbidden(Throwable) - Constructor for exception org.osgl.mvc.result.Forbidden
 
Forbidden(int, Throwable) - Constructor for exception org.osgl.mvc.result.Forbidden
 
format() - Method in exception org.osgl.mvc.result.RenderContent
 
format - Variable in class org.osgl.mvc.result.Result.Payload
 
format(H.Format) - Method in class org.osgl.mvc.result.Result.Payload
 
fullUrl(H.Request) - Method in exception org.osgl.mvc.result.Redirect
 

G

genericTargetType() - Method in class org.osgl.mvc.util.Binder
 
get() - Static method in exception org.osgl.mvc.result.BadRequest
Returns a static BadRequest instance and set the Result.payload thread local with default message.
get() - Static method in exception org.osgl.mvc.result.Conflict
Returns a static Conflict instance and set the Result.payload thread local with default message.
get() - Static method in exception org.osgl.mvc.result.Forbidden
Returns a static Forbidden instance and set the Result.payload thread local with default message.
get() - Static method in exception org.osgl.mvc.result.MethodNotAllowed
Returns a static MethodNotAllowed instance and set the Result.payload thread local with default message.
get() - Static method in exception org.osgl.mvc.result.NoContent
 
get() - Static method in exception org.osgl.mvc.result.NoResult
Deprecated.
 
get() - Static method in exception org.osgl.mvc.result.NotAcceptable
Returns a static NotFound instance and set the Result.payload thread local with default message.
get() - Static method in exception org.osgl.mvc.result.NotFound
Returns a static NotFound instance and set the Result.payload thread local with default message.
get() - Static method in exception org.osgl.mvc.result.NotImplemented
Returns a static NotImplemented instance and set the Result.payload thread local with default message.
get() - Static method in exception org.osgl.mvc.result.NotModified
get() - Static method in exception org.osgl.mvc.result.Ok
 
get() - Static method in exception org.osgl.mvc.result.Unauthorized
GetAction - Annotation Type in org.osgl.mvc.annotation
The GetAction annotation is used to mark a method (the action handler) that should be executed to handle a GET http request
getLocalizedMessage() - Method in exception org.osgl.mvc.result.ErrorResult
 

H

HttpContextManager - Class in org.osgl.mvc
The HttpContextManager help to set up http context, e.g.
HttpContextManager() - Constructor for class org.osgl.mvc.HttpContextManager
 
HttpContextManager.Listener - Interface in org.osgl.mvc
 

I

init(H.Request, H.Response) - Static method in class org.osgl.mvc.HttpContextManager
Initialize the Http Context.
INSTANCE - Static variable in exception org.osgl.mvc.result.BadRequest
The static instance of BadRequest result.
INSTANCE - Static variable in exception org.osgl.mvc.result.Conflict
The static instance of Conflict result.
INSTANCE - Static variable in exception org.osgl.mvc.result.Created
 
INSTANCE - Static variable in exception org.osgl.mvc.result.Forbidden
The static instance of Forbidden result.
INSTANCE - Static variable in exception org.osgl.mvc.result.MethodNotAllowed
The static instance of `MethodNotAllowed` result
INSTANCE - Static variable in exception org.osgl.mvc.result.NoContent
 
INSTANCE - Static variable in exception org.osgl.mvc.result.NoResult
Deprecated.
 
INSTANCE - Static variable in exception org.osgl.mvc.result.NotAcceptable
The static instance of NotFound result.
INSTANCE - Static variable in exception org.osgl.mvc.result.NotFound
The static instance of NotFound result.
INSTANCE - Static variable in exception org.osgl.mvc.result.NotImplemented
The static instance of NotImplemented result.
INSTANCE - Static variable in exception org.osgl.mvc.result.NotModified
The static NotModified result
INSTANCE - Static variable in exception org.osgl.mvc.result.Ok
 
INSTANCE - Static variable in exception org.osgl.mvc.result.Unauthorized
 
INT_ARRAY - Static variable in class org.osgl.mvc.util.Binder
 
isOutputEncoding() - Method in exception org.osgl.mvc.result.RenderContent
 

J

jsonMediaTypeProvider(Osgl.Func0<H.Format>) - Static method in class org.osgl.mvc.MvcConfig
 
jsonMediaTypeProvider() - Static method in class org.osgl.mvc.MvcConfig
 
jsonSerializer(Osgl.Function<Object, String>) - Static method in class org.osgl.mvc.MvcConfig
 
jsonSerializer() - Static method in class org.osgl.mvc.MvcConfig
 

L

localizedErrorMsg() - Static method in class org.osgl.mvc.MvcConfig
 
location() - Method in exception org.osgl.mvc.result.Accepted
 
location(String) - Method in exception org.osgl.mvc.result.Created
 
location() - Method in exception org.osgl.mvc.result.Created
 
LONG_ARRAY - Static variable in class org.osgl.mvc.util.Binder
 

M

message - Variable in class org.osgl.mvc.result.Result.Payload
 
message(String) - Method in class org.osgl.mvc.result.Result.Payload
 
message(String, Object...) - Method in class org.osgl.mvc.result.Result.Payload
 
messageTranslater(Osgl.Function<String, String>) - Static method in class org.osgl.mvc.MvcConfig
 
messageTranslater() - Static method in class org.osgl.mvc.MvcConfig
 
MethodNotAllowed - Exception in org.osgl.mvc.result
Indicate a 405 Method not allowed response
MethodNotAllowed() - Constructor for exception org.osgl.mvc.result.MethodNotAllowed
 
MethodNotAllowed(String, Object...) - Constructor for exception org.osgl.mvc.result.MethodNotAllowed
 
MethodNotAllowed(Throwable, String, Object...) - Constructor for exception org.osgl.mvc.result.MethodNotAllowed
 
MethodNotAllowed(Throwable) - Constructor for exception org.osgl.mvc.result.MethodNotAllowed
 
MethodNotAllowed(int) - Constructor for exception org.osgl.mvc.result.MethodNotAllowed
 
MethodNotAllowed(int, String, Object...) - Constructor for exception org.osgl.mvc.result.MethodNotAllowed
 
MethodNotAllowed(int, Throwable, String, Object...) - Constructor for exception org.osgl.mvc.result.MethodNotAllowed
 
MethodNotAllowed(int, Throwable) - Constructor for exception org.osgl.mvc.result.MethodNotAllowed
 
moved(String) - Static method in exception org.osgl.mvc.result.Redirect
 
moved(String, Object...) - Static method in exception org.osgl.mvc.result.Redirect
 
MSG_ID_ACCEPTED - Static variable in class org.osgl.mvc.MvcConfig
 
MSG_ID_BAD_REQUEST - Static variable in class org.osgl.mvc.MvcConfig
 
MSG_ID_CLIENT_ERROR - Static variable in class org.osgl.mvc.MvcConfig
 
MSG_ID_CONFLICT - Static variable in class org.osgl.mvc.MvcConfig
 
MSG_ID_CREATED - Static variable in class org.osgl.mvc.MvcConfig
 
MSG_ID_FORBIDDEN - Static variable in class org.osgl.mvc.MvcConfig
 
MSG_ID_METHOD_NOT_ALLOWED - Static variable in class org.osgl.mvc.MvcConfig
 
MSG_ID_NOT_ACCEPTABLE - Static variable in class org.osgl.mvc.MvcConfig
 
MSG_ID_NOT_FOUND - Static variable in class org.osgl.mvc.MvcConfig
 
MSG_ID_NOT_IMPLEMENTED - Static variable in class org.osgl.mvc.MvcConfig
 
MSG_ID_PAYMENT_REQUIRED - Static variable in class org.osgl.mvc.MvcConfig
 
MSG_ID_PROXY_AUTHENTICATION_REQUIRED - Static variable in class org.osgl.mvc.MvcConfig
 
MSG_ID_REQUREST_TIMEOUT - Static variable in class org.osgl.mvc.MvcConfig
 
MSG_ID_SERVER_ERROR - Static variable in class org.osgl.mvc.MvcConfig
 
MSG_ID_UNAUTHORIZED - Static variable in class org.osgl.mvc.MvcConfig
 
MSG_ID_UNKNOWN_STATUS - Static variable in class org.osgl.mvc.MvcConfig
 
MvcConfig - Class in org.osgl.mvc
 
MvcConfig() - Constructor for class org.osgl.mvc.MvcConfig
 

N

NoContent - Exception in org.osgl.mvc.result
Render NO_CONTENT response
NoContent() - Constructor for exception org.osgl.mvc.result.NoContent
 
NoResult - Exception in org.osgl.mvc.result
Deprecated.
NotAcceptable - Exception in org.osgl.mvc.result
Indicate a 406 Not Acceptable
NotAcceptable() - Constructor for exception org.osgl.mvc.result.NotAcceptable
 
NotAcceptable(int) - Constructor for exception org.osgl.mvc.result.NotAcceptable
 
NotAcceptable(String, Object...) - Constructor for exception org.osgl.mvc.result.NotAcceptable
 
NotAcceptable(int, String, Object...) - Constructor for exception org.osgl.mvc.result.NotAcceptable
 
NotFound - Exception in org.osgl.mvc.result
Indicate a 404 Not found response
NotFound() - Constructor for exception org.osgl.mvc.result.NotFound
 
NotFound(String, Object...) - Constructor for exception org.osgl.mvc.result.NotFound
 
NotFound(Throwable, String, Object...) - Constructor for exception org.osgl.mvc.result.NotFound
 
NotFound(Throwable) - Constructor for exception org.osgl.mvc.result.NotFound
 
NotFound(int) - Constructor for exception org.osgl.mvc.result.NotFound
 
NotFound(int, String, Object...) - Constructor for exception org.osgl.mvc.result.NotFound
 
NotFound(int, Throwable, String, Object...) - Constructor for exception org.osgl.mvc.result.NotFound
 
NotFound(int, Throwable) - Constructor for exception org.osgl.mvc.result.NotFound
 
NotImplemented - Exception in org.osgl.mvc.result
Indicate a 501 Not implemented response
NotImplemented() - Constructor for exception org.osgl.mvc.result.NotImplemented
 
NotImplemented(int) - Constructor for exception org.osgl.mvc.result.NotImplemented
 
NotImplemented(String, Object...) - Constructor for exception org.osgl.mvc.result.NotImplemented
 
NotImplemented(int, String, Object...) - Constructor for exception org.osgl.mvc.result.NotImplemented
 
NotImplemented(Throwable, String, Object...) - Constructor for exception org.osgl.mvc.result.NotImplemented
 
NotImplemented(int, Throwable, String, Object...) - Constructor for exception org.osgl.mvc.result.NotImplemented
 
NotImplemented(Throwable) - Constructor for exception org.osgl.mvc.result.NotImplemented
 
NotImplemented(int, Throwable) - Constructor for exception org.osgl.mvc.result.NotImplemented
 
NotModified - Exception in org.osgl.mvc.result
 
NotModified() - Constructor for exception org.osgl.mvc.result.NotModified
 
NotModified(String) - Constructor for exception org.osgl.mvc.result.NotModified
 
NotModified(String, Object...) - Constructor for exception org.osgl.mvc.result.NotModified
 

O

of(String) - Static method in exception org.osgl.mvc.result.Accepted
 
of(int) - Static method in exception org.osgl.mvc.result.BadRequest
Returns a static BadRequest instance and set the Result.payload thread local with default message.
of(String, Object...) - Static method in exception org.osgl.mvc.result.BadRequest
Returns a static BadRequest instance and set the Result.payload thread local with message specified.
of(int, String, Object...) - Static method in exception org.osgl.mvc.result.BadRequest
Returns a static BadRequest instance and set the Result.payload thread local with message specified.
of(int, Throwable, String, Object...) - Static method in exception org.osgl.mvc.result.BadRequest
Returns a static BadRequest instance and set the Result.payload thread local with message specified.
of(int) - Static method in exception org.osgl.mvc.result.Conflict
Returns a static Conflict instance and set the Result.payload thread local with default message.
of(String, Object...) - Static method in exception org.osgl.mvc.result.Conflict
Returns a static Conflict instance and set the Result.payload thread local with message specified.
of(Throwable) - Static method in exception org.osgl.mvc.result.Conflict
Returns a static Conflict instance and set the Result.payload thread local with message specified.
of(Throwable, String, Object...) - Static method in exception org.osgl.mvc.result.Conflict
Returns a static Conflict instance and set the Result.payload thread local with message specified.
of(int, String, Object...) - Static method in exception org.osgl.mvc.result.Conflict
Returns a static Conflict instance and set the Result.payload thread local with message specified.
of(int, Throwable, String, Object...) - Static method in exception org.osgl.mvc.result.Conflict
Returns a static Conflict instance and set the Result.payload thread local with message specified.
of(String) - Static method in exception org.osgl.mvc.result.Created
Deprecated.
of(H.Status) - Static method in exception org.osgl.mvc.result.ErrorResult
 
of(H.Status, int) - Static method in exception org.osgl.mvc.result.ErrorResult
 
of(H.Status, int, String, Object...) - Static method in exception org.osgl.mvc.result.ErrorResult
 
of(H.Status, String, Object...) - Static method in exception org.osgl.mvc.result.ErrorResult
 
of(H.Status, Throwable, String, Object...) - Static method in exception org.osgl.mvc.result.ErrorResult
 
of(H.Status, int, Throwable, String, Object...) - Static method in exception org.osgl.mvc.result.ErrorResult
 
of(H.Status, int, Throwable) - Static method in exception org.osgl.mvc.result.ErrorResult
 
of(int) - Static method in exception org.osgl.mvc.result.Forbidden
Returns a static Forbidden instance and set the Result.payload thread local with default message.
of(Throwable, int) - Static method in exception org.osgl.mvc.result.Forbidden
Returns a static Forbidden instance and set the Result.payload thread local with default message.
of(String, Object...) - Static method in exception org.osgl.mvc.result.Forbidden
Returns a static Forbidden instance and set the Result.payload thread local with message specified.
of(Throwable, String, Object...) - Static method in exception org.osgl.mvc.result.Forbidden
Returns a static Forbidden instance and set the Result.payload thread local with message specified.
of(Throwable) - Static method in exception org.osgl.mvc.result.Forbidden
Returns a static Forbidden instance and set the Result.payload thread local with message specified.
of(Throwable, int, String, Object...) - Static method in exception org.osgl.mvc.result.Forbidden
Returns a static Forbidden instance and set the Result.payload thread local with message specified.
of(int, String, Object...) - Static method in exception org.osgl.mvc.result.Forbidden
Returns a static Forbidden instance and set the Result.payload thread local with message specified.
of(int, Throwable, String, Object...) - Static method in exception org.osgl.mvc.result.Forbidden
Returns a static Forbidden instance and set the Result.payload thread local with message specified.
of(int) - Static method in exception org.osgl.mvc.result.MethodNotAllowed
Returns a static MethodNotAllowed instance and set the Result.payload thread local with default message.
of(String, Object...) - Static method in exception org.osgl.mvc.result.MethodNotAllowed
Returns a static NotImplemented instance and set the Result.payload thread local with message specified.
of(Throwable, String, Object...) - Static method in exception org.osgl.mvc.result.MethodNotAllowed
Returns a static NotImplemented instance and set the Result.payload thread local with message specified.
of(Throwable) - Static method in exception org.osgl.mvc.result.MethodNotAllowed
Returns a static NotImplemented instance and set the Result.payload thread local with message specified.
of(int, String, Object...) - Static method in exception org.osgl.mvc.result.MethodNotAllowed
Returns a static NotImplemented instance and set the Result.payload thread local with message specified.
of(int, Throwable, String, Object...) - Static method in exception org.osgl.mvc.result.MethodNotAllowed
Returns a static NotImplemented instance and set the Result.payload thread local with message specified.
of(int) - Static method in exception org.osgl.mvc.result.NotAcceptable
Returns a static NotFound instance and set the Result.payload thread local with default message.
of(String, Object...) - Static method in exception org.osgl.mvc.result.NotAcceptable
Returns a static NotFound instance and set the Result.payload thread local with message specified.
of(Throwable, String, Object...) - Static method in exception org.osgl.mvc.result.NotAcceptable
Returns a static NotFound instance and set the Result.payload thread local with message specified.
of(Throwable) - Static method in exception org.osgl.mvc.result.NotAcceptable
Returns a static NotFound instance and set the Result.payload thread local with message specified.
of(int, String, Object...) - Static method in exception org.osgl.mvc.result.NotAcceptable
Returns a static NotFound instance and set the Result.payload thread local with message specified.
of(int, Throwable, String, Object...) - Static method in exception org.osgl.mvc.result.NotAcceptable
Returns a static NotFound instance and set the Result.payload thread local with message specified.
of(String, Object...) - Static method in exception org.osgl.mvc.result.NotFound
Returns a static NotFound instance and set the Result.payload thread local with message specified.
of(Throwable) - Static method in exception org.osgl.mvc.result.NotFound
Returns a static NotFound instance and set the Result.payload thread local with message specified.
of(Throwable, String, Object...) - Static method in exception org.osgl.mvc.result.NotFound
Returns a static NotFound instance and set the Result.payload thread local with message specified.
of(int) - Static method in exception org.osgl.mvc.result.NotImplemented
Returns a static NotImplemented instance and set the Result.payload thread local with default message.
of(String, Object...) - Static method in exception org.osgl.mvc.result.NotImplemented
Returns a static NotImplemented instance and set the Result.payload thread local with message specified.
of(Throwable, String, Object...) - Static method in exception org.osgl.mvc.result.NotImplemented
Returns a static NotImplemented instance and set the Result.payload thread local with message specified.
of(Throwable) - Static method in exception org.osgl.mvc.result.NotImplemented
Returns a static NotImplemented instance and set the Result.payload thread local with message specified.
of(String) - Static method in exception org.osgl.mvc.result.NotModified
Returns a static NotModified instance which when calling on NotModified.etag() method, will return whatever stored in the Result.payload thread local.
of(String, Object...) - Static method in exception org.osgl.mvc.result.NotModified
Returns a static NotModified instance which when calling on NotModified.etag() method, will return whatever stored in the Result.payload thread local.
of(String) - Static method in exception org.osgl.mvc.result.Redirect
 
of(String, Object...) - Static method in exception org.osgl.mvc.result.Redirect
 
of(String) - Static method in exception org.osgl.mvc.result.RenderHtml
 
of(String, Object...) - Static method in exception org.osgl.mvc.result.RenderHtml
 
of(H.Status, String) - Static method in exception org.osgl.mvc.result.RenderHtml
 
of(H.Status, String, Object...) - Static method in exception org.osgl.mvc.result.RenderHtml
 
of(String) - Static method in exception org.osgl.mvc.result.RenderJSON
 
of(String, Object...) - Static method in exception org.osgl.mvc.result.RenderJSON
 
of(Object) - Static method in exception org.osgl.mvc.result.RenderJSON
 
of(H.Status, String) - Static method in exception org.osgl.mvc.result.RenderJSON
 
of(H.Status, String, Object...) - Static method in exception org.osgl.mvc.result.RenderJSON
 
of(H.Status, Object) - Static method in exception org.osgl.mvc.result.RenderJSON
 
of(String) - Static method in exception org.osgl.mvc.result.RenderText
 
of(String, Object...) - Static method in exception org.osgl.mvc.result.RenderText
 
of(H.Format, String, Object...) - Static method in exception org.osgl.mvc.result.RenderText
 
of(H.Status, String) - Static method in exception org.osgl.mvc.result.RenderText
 
of(H.Status, String, Object...) - Static method in exception org.osgl.mvc.result.RenderText
 
of(H.Status, H.Format, String, Object...) - Static method in exception org.osgl.mvc.result.RenderText
 
of(String) - Static method in exception org.osgl.mvc.result.RenderXML
 
of(H.Status, String) - Static method in exception org.osgl.mvc.result.RenderXML
 
of(String, Object...) - Static method in exception org.osgl.mvc.result.RenderXML
 
of(H.Status, String, Object...) - Static method in exception org.osgl.mvc.result.RenderXML
 
of(Throwable, String, Object...) - Static method in exception org.osgl.mvc.result.ServerError
Returns a static ServerError instance and set the Result.payload thread local with message specified, and store the cause specified into the Result.payload thread local When calling the instance on Throwable.getMessage() method, it will return whatever stored in the Result.payload thread local; When calling the instance on Throwable.getCause() method, it will return whatever stored in the Result.payload thread local
of(int, Throwable, String, Object...) - Static method in exception org.osgl.mvc.result.ServerError
Returns a static ServerError instance and set the Result.payload thread local with message specified, and store the cause specified into the Result.payload thread local When calling the instance on Throwable.getMessage() method, it will return whatever stored in the Result.payload thread local; When calling the instance on Throwable.getCause() method, it will return whatever stored in the Result.payload thread local
of(String, Object...) - Static method in exception org.osgl.mvc.result.ServerError
Returns a static ServerError instance and set the Result.payload thread local with message specified.
of(int, String, Object...) - Static method in exception org.osgl.mvc.result.ServerError
Returns a static ServerError instance and set the Result.payload thread local with message specified.
of(String) - Static method in exception org.osgl.mvc.result.Unauthorized
Returns a static Unauthorized instance and set the Result.payload thread local with realm and type When calling the instance on Unauthorized.realm() and Unauthorized.type() method, it will return whatever stored in the Result.payload thread local
Ok - Exception in org.osgl.mvc.result
 
onCleanUp() - Method in interface org.osgl.mvc.HttpContextManager.Listener
 
onSessionResolved(H.Session) - Method in interface org.osgl.mvc.HttpContextManager.Listener
 
org.osgl.mvc - package org.osgl.mvc
 
org.osgl.mvc.annotation - package org.osgl.mvc.annotation
 
org.osgl.mvc.result - package org.osgl.mvc.result
 
org.osgl.mvc.util - package org.osgl.mvc.util
 
outputEncoding - Variable in class org.osgl.mvc.result.Result.Payload
 
outputEncoding(boolean) - Method in class org.osgl.mvc.result.Result.Payload
 
outputEncoding() - Method in class org.osgl.mvc.result.Result.Payload
 

P

Param - Annotation Type in org.osgl.mvc.annotation
The Param annotation is used to specify a binding of HTTP parameter to an action handler method parameter
Param.DEFAULT_RESOLVER - Class in org.osgl.mvc.annotation
 
paramKeys() - Method in interface org.osgl.mvc.util.ParamValueProvider
 
paramVal(String) - Method in interface org.osgl.mvc.util.ParamValueProvider
 
paramVals(String) - Method in interface org.osgl.mvc.util.ParamValueProvider
 
ParamValueProvider - Interface in org.osgl.mvc.util
Provide data to Binder
PatchAction - Annotation Type in org.osgl.mvc.annotation
The PatchAction annotation is used to mark a method (the action handler) that should be executed to handle a PATCH http request
payload - Static variable in exception org.osgl.mvc.result.Result
 
payload() - Method in exception org.osgl.mvc.result.Result
 
Payload() - Constructor for class org.osgl.mvc.result.Result.Payload
 
PostAction - Annotation Type in org.osgl.mvc.annotation
The PostAction annotation is used to mark a method (the action handler) that should be executed to handle a POST http request.
predefined() - Static method in class org.osgl.mvc.util.Binder
 
predefined(Class<T>) - Static method in class org.osgl.mvc.util.Binder
 
PRIMITIVE_BOOLEAN_ARRAY - Static variable in class org.osgl.mvc.util.Binder
 
PRIMITIVE_BYTE_ARRAY - Static variable in class org.osgl.mvc.util.Binder
 
PRIMITIVE_CHAR_ARRAY - Static variable in class org.osgl.mvc.util.Binder
 
PRIMITIVE_DOUBLE_ARRAY - Static variable in class org.osgl.mvc.util.Binder
 
PRIMITIVE_FLOAT_ARRAY - Static variable in class org.osgl.mvc.util.Binder
 
PRIMITIVE_INT_ARRAY - Static variable in class org.osgl.mvc.util.Binder
 
PRIMITIVE_LONG_ARRAY - Static variable in class org.osgl.mvc.util.Binder
 
PRIMITIVE_SHORT_ARRAY - Static variable in class org.osgl.mvc.util.Binder
 
PutAction - Annotation Type in org.osgl.mvc.annotation
The PutAction annotation is used to mark a method (the action handler) that should be executed to handle a PUT http request

R

realm() - Method in exception org.osgl.mvc.result.Unauthorized
 
Redirect - Exception in org.osgl.mvc.result
 
Redirect(String) - Constructor for exception org.osgl.mvc.result.Redirect
 
Redirect(String, Object...) - Constructor for exception org.osgl.mvc.result.Redirect
 
Redirect(boolean, String) - Constructor for exception org.osgl.mvc.result.Redirect
 
Redirect(boolean, String, Object...) - Constructor for exception org.osgl.mvc.result.Redirect
 
RenderBinary - Exception in org.osgl.mvc.result
 
RenderBinary(InputStream, String) - Constructor for exception org.osgl.mvc.result.RenderBinary
send a binary stream as the response
RenderBinary(InputStream, String, long) - Constructor for exception org.osgl.mvc.result.RenderBinary
 
RenderBinary(InputStream, String, boolean) - Constructor for exception org.osgl.mvc.result.RenderBinary
send a binary stream as the response
RenderBinary(InputStream, String, String, boolean) - Constructor for exception org.osgl.mvc.result.RenderBinary
send a binary stream as the response
RenderBinary(InputStream, String, long, String, boolean) - Constructor for exception org.osgl.mvc.result.RenderBinary
 
RenderBinary(InputStream, String, long, boolean) - Constructor for exception org.osgl.mvc.result.RenderBinary
 
RenderBinary(File, String) - Constructor for exception org.osgl.mvc.result.RenderBinary
Send a file as the response.
RenderBinary(File) - Constructor for exception org.osgl.mvc.result.RenderBinary
Send a file as the response.
RenderBinary(File, String, boolean) - Constructor for exception org.osgl.mvc.result.RenderBinary
Send a file as the response.
RenderBinary(Osgl.Function<OutputStream, ?>) - Constructor for exception org.osgl.mvc.result.RenderBinary
 
RenderContent - Exception in org.osgl.mvc.result
 
RenderContent(H.Format) - Constructor for exception org.osgl.mvc.result.RenderContent
Create a RenderContent object with blank content, format and the outputEncoding set to true
RenderContent(String, H.Format) - Constructor for exception org.osgl.mvc.result.RenderContent
Create a RenderContent object with content, format and the outputEncoding set to true
RenderContent(H.Status, String, H.Format) - Constructor for exception org.osgl.mvc.result.RenderContent
Create a RenderContent object with content, format and the outputEncoding set to true
RenderContent(String, H.Format, boolean) - Constructor for exception org.osgl.mvc.result.RenderContent
Create a RenderContent object with content, format and outputEncoding specified.
RenderContent(H.Status, String, H.Format, boolean) - Constructor for exception org.osgl.mvc.result.RenderContent
Create a RenderContent object with content, format and outputEncoding specified.
RenderHtml - Exception in org.osgl.mvc.result
 
RenderHtml(String) - Constructor for exception org.osgl.mvc.result.RenderHtml
 
RenderHtml(String, Object...) - Constructor for exception org.osgl.mvc.result.RenderHtml
 
RenderHtml(H.Status, String) - Constructor for exception org.osgl.mvc.result.RenderHtml
 
RenderHtml(H.Status, String, Object...) - Constructor for exception org.osgl.mvc.result.RenderHtml
 
RenderJSON - Exception in org.osgl.mvc.result
 
RenderJSON(String) - Constructor for exception org.osgl.mvc.result.RenderJSON
 
RenderJSON(String, Object...) - Constructor for exception org.osgl.mvc.result.RenderJSON
 
RenderJSON(Object) - Constructor for exception org.osgl.mvc.result.RenderJSON
 
RenderJSON(H.Status, String) - Constructor for exception org.osgl.mvc.result.RenderJSON
 
RenderJSON(H.Status, String, Object...) - Constructor for exception org.osgl.mvc.result.RenderJSON
 
RenderJSON(H.Status, Object) - Constructor for exception org.osgl.mvc.result.RenderJSON
 
renderJsonOutputCharset(boolean) - Static method in class org.osgl.mvc.MvcConfig
 
renderJsonOutputCharset() - Static method in class org.osgl.mvc.MvcConfig
 
renderTemplate(ErrorResult, H.Format) - Method in class org.osgl.mvc.ErrorPageRenderer
 
RenderText - Exception in org.osgl.mvc.result
Render a text message
RenderText(String, Object...) - Constructor for exception org.osgl.mvc.result.RenderText
 
RenderText(H.Format, String, Object...) - Constructor for exception org.osgl.mvc.result.RenderText
 
RenderText(H.Status, String, Object...) - Constructor for exception org.osgl.mvc.result.RenderText
 
RenderText(H.Status, H.Format, String, Object...) - Constructor for exception org.osgl.mvc.result.RenderText
 
RenderXML - Exception in org.osgl.mvc.result
 
RenderXML(String, Object...) - Constructor for exception org.osgl.mvc.result.RenderXML
 
RenderXML(H.Status, String, Object...) - Constructor for exception org.osgl.mvc.result.RenderXML
 
RenderXML(String) - Constructor for exception org.osgl.mvc.result.RenderXML
 
RenderXML(H.Status, String) - Constructor for exception org.osgl.mvc.result.RenderXML
 
resolve(String) - Method in class org.osgl.mvc.annotation.Param.DEFAULT_RESOLVER
 
Resolve - Annotation Type in org.osgl.mvc.annotation
The Bind annotation is used to specify StringValueResolver that can be applied to field, parameter or an annotation
resolve(T, String, ParamValueProvider) - Method in class org.osgl.mvc.util.Binder
Resolve bean from param value provider
ResponseContentType - Annotation Type in org.osgl.mvc.annotation
Mark an action handler shall produce response with media type specified
ResponseStatus - Annotation Type in org.osgl.mvc.annotation
Mark a certain class so when the implementation framework encountered a return result of the class, it will automatically set the response status
Result - Exception in org.osgl.mvc.result
 
Result() - Constructor for exception org.osgl.mvc.result.Result
 
Result(H.Status) - Constructor for exception org.osgl.mvc.result.Result
 
Result(H.Status, String) - Constructor for exception org.osgl.mvc.result.Result
 
Result(H.Status, String, Object...) - Constructor for exception org.osgl.mvc.result.Result
 
Result(H.Status, Throwable) - Constructor for exception org.osgl.mvc.result.Result
 
Result(H.Status, Throwable, String, Object...) - Constructor for exception org.osgl.mvc.result.Result
 
Result.Payload - Class in org.osgl.mvc.result
 

S

save() - Static method in class org.osgl.mvc.HttpContextManager
Persist session and flash to cookie, write all cookies to http response
secret(String) - Static method in class org.osgl.mvc.MvcConfig
 
ServerError - Exception in org.osgl.mvc.result
Indicate an internal server error and set 500 status on response
ServerError() - Constructor for exception org.osgl.mvc.result.ServerError
 
ServerError(String, Object...) - Constructor for exception org.osgl.mvc.result.ServerError
 
ServerError(Throwable) - Constructor for exception org.osgl.mvc.result.ServerError
 
ServerError(Throwable, String, Object...) - Constructor for exception org.osgl.mvc.result.ServerError
 
ServerError(int) - Constructor for exception org.osgl.mvc.result.ServerError
 
ServerError(int, String, Object...) - Constructor for exception org.osgl.mvc.result.ServerError
 
ServerError(int, Throwable) - Constructor for exception org.osgl.mvc.result.ServerError
 
ServerError(int, Throwable, String, Object...) - Constructor for exception org.osgl.mvc.result.ServerError
 
sessionExpire(int) - Static method in class org.osgl.mvc.MvcConfig
Set session expire in seconds
SessionFree - Annotation Type in org.osgl.mvc.annotation
Indicate a controller handler method does NOT require session.
setContentType(H.Response) - Method in exception org.osgl.mvc.result.RenderContent
 
setOutputEncoding(boolean) - Method in exception org.osgl.mvc.result.RenderContent
 
SHORT_ARRAY - Static variable in class org.osgl.mvc.util.Binder
 
status - Variable in class org.osgl.mvc.result.Result.Payload
 
status(H.Status) - Method in class org.osgl.mvc.result.Result.Payload
 
status() - Method in exception org.osgl.mvc.result.Result
 
status(H.Status) - Method in exception org.osgl.mvc.result.Result
 
statusCode() - Method in exception org.osgl.mvc.result.Result
 
STRING_ARRAY - Static variable in class org.osgl.mvc.util.Binder
 

T

targetType - Variable in class org.osgl.mvc.util.Binder
 
targetType() - Method in class org.osgl.mvc.util.Binder
 
toJsonString() - Method in exception org.osgl.mvc.result.ErrorResult
 
toKVStore() - Method in exception org.osgl.mvc.result.ErrorResult
Export the error result data into a KVStore
toString() - Method in exception org.osgl.mvc.result.Accepted
 
toString() - Method in exception org.osgl.mvc.result.Created
 
toString() - Method in exception org.osgl.mvc.result.ErrorResult
 
toString() - Method in exception org.osgl.mvc.result.Ok
 
type() - Method in exception org.osgl.mvc.result.Unauthorized
 

U

Unauthorized - Exception in org.osgl.mvc.result
HTTP 401 Unauthorized, Note digest type is not supported yet
Unauthorized() - Constructor for exception org.osgl.mvc.result.Unauthorized
 
Unauthorized(String) - Constructor for exception org.osgl.mvc.result.Unauthorized
 
Unauthorized(String, boolean) - Constructor for exception org.osgl.mvc.result.Unauthorized
 
url - Variable in exception org.osgl.mvc.result.Redirect
 
url() - Method in exception org.osgl.mvc.result.Redirect
 

W

With - Annotation Type in org.osgl.mvc.annotation
The With annotation is used to delegate interceptors
withEtag(String) - Static method in exception org.osgl.mvc.result.Created
 
withLocation(String) - Static method in exception org.osgl.mvc.result.Created
 

_

_localizedErrorMsg() - Static method in exception org.osgl.mvc.result.ErrorResult
 
A B C D E F G H I J L M N O P R S T U W _ 
Skip navigation links

Copyright © 2017. All Rights Reserved.