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

A

accept() - Method in class org.jooby.internal.RequestImpl
 
accept() - Method in interface org.jooby.Request
 
accept() - Method in class org.jooby.Request.Forwarding
 
accepted() - Static method in class org.jooby.Body
 
accepted(Object) - Static method in class org.jooby.Body
 
accepts(List<MediaType>) - Method in class org.jooby.internal.RequestImpl
 
accepts(String...) - Method in interface org.jooby.Request
Check if the given types are acceptable, returning the best match when true, or else Optional.empty.
accepts(MediaType...) - Method in interface org.jooby.Request
Check if the given types are acceptable, returning the best match when true, or else Optional.empty.
accepts(List<MediaType>) - Method in interface org.jooby.Request
Check if the given types are acceptable, returning the best match when true, or else Optional.empty.
accepts(List<MediaType>) - Method in class org.jooby.Request.Forwarding
 
accepts(MediaType...) - Method in class org.jooby.Request.Forwarding
 
accepts(String...) - Method in class org.jooby.Request.Forwarding
 
access(long) - Method in class org.jooby.internal.jetty.JoobySession
 
accessedAt() - Method in class org.jooby.internal.jetty.JoobySession
 
accessedAt() - Method in interface org.jooby.Session
The last time the client sent a request associated with this session, as the number of milliseconds since midnight January 1, 1970 GMT, and marked by the time the container received the request.
addSession(AbstractSession) - Method in class org.jooby.internal.jetty.JoobySessionManager
 
all - Static variable in class org.jooby.MediaType
Any media type.
ALL - Static variable in class org.jooby.MediaType
Any media type.
ASMParamNameProvider - Class in org.jooby.internal.mvc
 
ASMParamNameProvider(Map<String, String[]>) - Constructor for class org.jooby.internal.mvc.ASMParamNameProvider
 
Asset - Interface in org.jooby
Usually a public file/resource like javascript, css, images files, etc...
AssetFormatter - Class in org.jooby.internal
 
AssetFormatter() - Constructor for class org.jooby.internal.AssetFormatter
 
AssetProvider - Class in org.jooby.internal
 
AssetProvider(MediaTypeProvider) - Constructor for class org.jooby.internal.AssetProvider
 
AssetRoute - Class in org.jooby.internal
 
AssetRoute(AssetProvider) - Constructor for class org.jooby.internal.AssetRoute
 
assets(String) - Method in class org.jooby.Jooby
Serve or publish static files to browser.
attributes() - Method in class org.jooby.internal.jetty.JoobySession
 
attributes() - Method in interface org.jooby.Session
 

B

BAD_DATA - Static variable in interface org.jooby.WebSocket
"1007 indicates that an endpoint is terminating the connection because it has received data within a message that was not consistent with the type of the message (e.g., non-UTF-8 [RFC3629] data within a text message)."
Body - Class in org.jooby
Utility class for generating HTTP responses from MVC routes (usually).
body(Object) - Static method in class org.jooby.Body
Set the body content!
body(Status) - Static method in class org.jooby.Body
Set the response status.
body(int) - Static method in class org.jooby.Body
Set the response status.
body(TypeLiteral<T>) - Method in class org.jooby.internal.RequestImpl
 
body(Class<T>) - Method in interface org.jooby.Request
Convert the HTTP request body into the given type.
body(TypeLiteral<T>) - Method in interface org.jooby.Request
Convert the HTTP request body into the given type.
body(TypeLiteral<T>) - Method in class org.jooby.Request.Forwarding
 
body(Class<T>) - Method in class org.jooby.Request.Forwarding
 
Body.Formatter - Interface in org.jooby
 
Body.Parser - Interface in org.jooby
 
Body.Reader - Interface in org.jooby
Utility class to properly reading a HTTP request body or parameters.
Body.Reader.Bytes - Interface in org.jooby
Read bytes from HTTP Body.
Body.Reader.Text - Interface in org.jooby
Read text from HTTP body.
Body.Writer - Interface in org.jooby
Utility class to properly write data into the HTTP response body.
Body.Writer.Bytes - Interface in org.jooby
Write bytes to the HTTP Body.
Body.Writer.Text - Interface in org.jooby
Write text to the HTTP Body and apply application/request charset.
BodyConverterSelector - Class in org.jooby.internal
Choose or select a Body.Parser or Body.Formatter using media types..
BodyConverterSelector(Set<Body.Parser>, Set<Body.Formatter>) - Constructor for class org.jooby.internal.BodyConverterSelector
Creates a new BodyConverterSelector.
BodyReaderImpl - Class in org.jooby.internal
 
BodyReaderImpl(Charset, ExSupplier<InputStream>) - Constructor for class org.jooby.internal.BodyReaderImpl
 
booleanValue() - Method in class org.jooby.internal.MutantImpl
 
booleanValue() - Method in class org.jooby.internal.UploadMutant
 
booleanValue() - Method in class org.jooby.internal.WsBinaryMessage
 
booleanValue() - Method in interface org.jooby.Mutant
 
build(Config, RouteHandler) - Static method in class org.jooby.internal.jetty.JettyServerBuilder
 
bytes(Body.Reader.Bytes) - Method in interface org.jooby.Body.Reader
Convert a HTTP request body to something else.
bytes(Body.Writer.Bytes) - Method in interface org.jooby.Body.Writer
Write bytes into the HTTP response body and close the resources.
bytes(Body.Reader.Bytes) - Method in class org.jooby.internal.BodyReaderImpl
 
byteValue() - Method in class org.jooby.internal.MutantImpl
 
byteValue() - Method in class org.jooby.internal.UploadMutant
 
byteValue() - Method in class org.jooby.internal.WsBinaryMessage
 
byteValue() - Method in interface org.jooby.Mutant
 

C

CachedParamProvider - Class in org.jooby.internal.mvc
 
CachedParamProvider(ParamProvider) - Constructor for class org.jooby.internal.mvc.CachedParamProvider
 
canConsume(MediaType) - Method in class org.jooby.Route.Definition
Test if the route definition can consume a media type.
canFormat(Class<?>) - Method in interface org.jooby.Body.Formatter
Test if the given type can be write it to the HTTP response body.
canFormat(Class<?>) - Method in class org.jooby.internal.AssetFormatter
 
canFormat(Class<?>) - Method in interface org.jooby.View.Engine
 
canParse(TypeLiteral<?>) - Method in interface org.jooby.Body.Parser
Test if the HTTP request body or parameter can be converted to the given type.
canProduce(List<MediaType>) - Method in class org.jooby.Route.Definition
Test if the route definition can consume a media type.
ChainParamNameProvider - Class in org.jooby.internal.mvc
 
ChainParamNameProvider(ParamNameProvider...) - Constructor for class org.jooby.internal.mvc.ChainParamNameProvider
 
charset() - Method in interface org.jooby.Body.Writer
 
charset() - Method in class org.jooby.internal.RequestImpl
 
charset() - Method in class org.jooby.internal.ResponseImpl
 
charset(Charset) - Method in class org.jooby.internal.ResponseImpl
 
charset() - Method in interface org.jooby.Request
The charset defined in the request body.
charset() - Method in class org.jooby.Request.Forwarding
 
charset() - Method in interface org.jooby.Response
If charset is not set this method returns charset defined in the request body.
charset(Charset) - Method in interface org.jooby.Response
Set the Charset to use and set the Content-Type header with the current charset.
charset() - Method in class org.jooby.Response.Forwarding
 
charset(Charset) - Method in class org.jooby.Response.Forwarding
 
clearCookie(String) - Method in class org.jooby.internal.ResponseImpl
 
clearCookie(String) - Method in interface org.jooby.Response
Discard a cookie from response.
clearCookie(String) - Method in class org.jooby.Response.Forwarding
 
close(WebSocket.CloseStatus) - Method in class org.jooby.internal.WebSocketImpl
 
close(int, String) - Method in interface org.jooby.WebSocket
Gracefully closes the connection, after sending a description message
close(int) - Method in interface org.jooby.WebSocket
Gracefully closes the connection, after sending a description message
close() - Method in interface org.jooby.WebSocket
Gracefully closes the connection, after sending a description message
close(WebSocket.CloseStatus) - Method in interface org.jooby.WebSocket
Gracefully closes the connection, after sending a description message
code() - Method in class org.jooby.WebSocket.CloseStatus
 
Collectors - Class in org.jooby.fn
 
Collectors() - Constructor for class org.jooby.fn.Collectors
 
comment() - Method in interface org.jooby.Cookie
 
comment(String) - Method in class org.jooby.Cookie.Definition
Set cookie's comment.
comment() - Method in class org.jooby.Cookie.Definition
 
committed() - Method in class org.jooby.internal.ResponseImpl
 
committed() - Method in interface org.jooby.Response
Returns a boolean indicating if the response has been committed.
committed() - Method in class org.jooby.Response.Forwarding
 
compareTo(MediaType) - Method in class org.jooby.MediaType
 
complete() - Method in class org.jooby.internal.jetty.JoobySession
 
config() - Method in class org.jooby.internal.jetty.Jetty
 
config() - Method in interface org.jooby.Jooby.Module
 
configure(Mode, Config, Binder) - Method in class org.jooby.internal.jetty.Jetty
 
configure(Binder) - Static method in class org.jooby.internal.TypeConverters
 
configure(Mode, Config, Binder) - Method in interface org.jooby.Jooby.Module
Configure and produces bindings for the underlying application.
configure(Binder) - Method in interface org.jooby.Request.Module
 
connect(Injector, Session) - Method in class org.jooby.internal.WebSocketImpl
 
connect(String, Route.Handler) - Method in class org.jooby.Jooby
Append a new in-line route that supports HTTP CONNECT method:
connect(String, Route.Filter) - Method in class org.jooby.Jooby
Append a new in-line route that supports HTTP CONNECT method:
connect(WebSocket) - Method in interface org.jooby.WebSocket.Handler
Inside a connect event, you can listen for WebSocket.onMessage(Callback), WebSocket.onClose(Callback) or WebSocket.onError(Callback) events.
consumes() - Method in class org.jooby.internal.RouteImpl
 
consumes() - Method in class org.jooby.internal.WebSocketImpl
 
Consumes - Annotation Type in org.jooby.mvc
Defines what media types a route can consume.
consumes() - Method in interface org.jooby.Route
 
consumes(MediaType...) - Method in class org.jooby.Route.Definition
Set the media types the route can consume.
consumes(List<MediaType>) - Method in class org.jooby.Route.Definition
Set the media types the route can consume.
consumes() - Method in class org.jooby.Route.Definition
 
consumes() - Method in class org.jooby.Route.Forwarding
 
consumes() - Method in interface org.jooby.WebSocket
 
consumes(String) - Method in class org.jooby.WebSocket.Definition
Set the media types the route can consume.
consumes(MediaType) - Method in class org.jooby.WebSocket.Definition
Set the media types the route can consume.
consumes() - Method in class org.jooby.WebSocket.Definition
 
content(Object) - Method in class org.jooby.Body
Set body content.
content() - Method in class org.jooby.Body
 
Cookie - Interface in org.jooby
Creates a cookie, a small amount of information sent by a server to a Web browser, saved by the browser, and later sent back to the server.
cookie(String) - Method in class org.jooby.internal.RequestImpl
 
cookie(Cookie) - Method in class org.jooby.internal.ResponseImpl
 
cookie(String) - Method in interface org.jooby.Request
Get a cookie with the given name (if present).
cookie(String) - Method in class org.jooby.Request.Forwarding
 
cookie(String, String) - Method in interface org.jooby.Response
Adds the specified cookie to the response.
cookie(Cookie.Definition) - Method in interface org.jooby.Response
Adds the specified cookie to the response.
cookie(Cookie) - Method in interface org.jooby.Response
Adds the specified cookie to the response.
cookie(String, String) - Method in class org.jooby.Response.Forwarding
 
cookie(Cookie) - Method in class org.jooby.Response.Forwarding
 
cookie(Cookie.Definition) - Method in class org.jooby.Response.Forwarding
 
cookie() - Method in class org.jooby.Session.Definition
 
Cookie.Definition - Class in org.jooby
Build a Cookie.
Cookie.Signature - Class in org.jooby
Sign cookies using a HMAC algorithm plus SHA-256 hash.
cookies() - Method in class org.jooby.internal.RequestImpl
 
cookies() - Method in interface org.jooby.Request
 
cookies() - Method in class org.jooby.Request.Forwarding
 
createdAt() - Method in class org.jooby.internal.jetty.JoobySession
 
createdAt() - Method in interface org.jooby.Session
 
css - Static variable in class org.jooby.MediaType
Stylesheet media type.

D

Default() - Constructor for class org.jooby.Err.Default
 
Definition(String) - Constructor for class org.jooby.Cookie.Definition
Creates a new cookie's definition.
Definition(String, String) - Constructor for class org.jooby.Cookie.Definition
Creates a new cookie's definition.
Definition() - Constructor for class org.jooby.Cookie.Definition
Internal use ONLY.
Definition(String, String, Route.Handler) - Constructor for class org.jooby.Route.Definition
Creates a new route definition.
Definition(String, String, Route.Filter) - Constructor for class org.jooby.Route.Definition
Creates a new route definition.
Definition(Session.Store) - Constructor for class org.jooby.Session.Definition
Creates a new session definition.
Definition(String, WebSocket.Handler) - Constructor for class org.jooby.WebSocket.Definition
Creates a new WebSocket.Definition.
delete(String, Route.Handler) - Method in class org.jooby.Jooby
Append a new in-line route that supports HTTP DELETE method:
delete(String, Route.Filter) - Method in class org.jooby.Jooby
Append a new in-line route that supports HTTP DELETE method:
DELETE - Annotation Type in org.jooby.mvc
HTTP DELETE verb for mvc routes.
delete(String) - Method in interface org.jooby.Session.Store
Delete a session by ID.
destroy() - Method in class org.jooby.internal.jetty.JoobySession
 
destroy() - Method in class org.jooby.internal.RequestImpl
 
destroy() - Method in interface org.jooby.Session
Invalidates this session then unset any objects bound to it.
doHandle(String, Request, HttpServletRequest, HttpServletResponse) - Method in class org.jooby.internal.jetty.JettyHandler
 
domain(String) - Method in class org.jooby.Cookie.Definition
Set the cookie's domain.
domain() - Method in class org.jooby.Cookie.Definition
 
domain() - Method in interface org.jooby.Cookie
 
doStart() - Method in class org.jooby.internal.jetty.JettyHandler
 
doStop() - Method in class org.jooby.internal.jetty.JoobySessionManager
 
doubleValue() - Method in class org.jooby.internal.MutantImpl
 
doubleValue() - Method in class org.jooby.internal.UploadMutant
 
doubleValue() - Method in class org.jooby.internal.WsBinaryMessage
 
doubleValue() - Method in interface org.jooby.Mutant
 
download(String, Reader) - Method in class org.jooby.internal.ResponseImpl
 
download(String, InputStream) - Method in class org.jooby.internal.ResponseImpl
 
download(String, InputStream) - Method in interface org.jooby.Response
Transfer the file at path as an "attachment".
download(String, Reader) - Method in interface org.jooby.Response
Transfer the file at path as an "attachment".
download(String) - Method in interface org.jooby.Response
Transfer the file at path as an "attachment".
download(File) - Method in interface org.jooby.Response
Transfer the file at path as an "attachment".
download(String, InputStream) - Method in class org.jooby.Response.Forwarding
 
download(String, Reader) - Method in class org.jooby.Response.Forwarding
 
download(File) - Method in class org.jooby.Response.Forwarding
 
download(String) - Method in class org.jooby.Response.Forwarding
 

E

engine() - Method in class org.jooby.View
 
engine(String) - Method in class org.jooby.View
Set the view engine to use.
enumValue(Class<T>) - Method in class org.jooby.internal.MutantImpl
 
enumValue(Class<T>) - Method in class org.jooby.internal.UploadMutant
 
enumValue(Class<T>) - Method in class org.jooby.internal.WsBinaryMessage
 
enumValue(Class<T>) - Method in interface org.jooby.Mutant
 
equals(Object) - Method in class org.jooby.MediaType
 
equals(Object) - Method in class org.jooby.WebSocket.Definition
 
Err - Exception in org.jooby
An exception that carry a Status.
Err(Status, String, Exception) - Constructor for exception org.jooby.Err
Creates a new Err.
Err(Status, String) - Constructor for exception org.jooby.Err
Creates a new Err.
Err(Status, Exception) - Constructor for exception org.jooby.Err
Creates a new Err.
Err(Status) - Constructor for exception org.jooby.Err
Creates a new Err.
err(Request, Response, Exception) - Method in interface org.jooby.Err.Handler
Build a err model from exception.
err(Err.Handler) - Method in class org.jooby.Jooby
Setup a route error handler.
ERR - Static variable in interface org.jooby.WebSocket
Default err callback.
Err.Default - Class in org.jooby
Default err handler with content negotation.
Err.Handler - Interface in org.jooby
Route error handler, it creates a default err model and default view name.
errPage(Request, Response, Exception) - Method in interface org.jooby.Err.Handler
Convert current err to a view location, defaults is: /err.
expiryAt() - Method in class org.jooby.internal.jetty.JoobySession
 
expiryAt() - Method in interface org.jooby.Session
 
ExSupplier<T> - Interface in org.jooby.fn
Represents a supplier of results.

F

FallbackBodyConverter - Class in org.jooby.internal
 
FallbackBodyConverter() - Constructor for class org.jooby.internal.FallbackBodyConverter
 
file(String) - Method in class org.jooby.Jooby
Serve a single file from classpath.
file() - Method in interface org.jooby.Upload
Get this upload as temporary file.
filter(Class<? extends Route.Filter>) - Method in class org.jooby.Jooby
Creates a new Route.Filter that delegate the execution to the given filter.
filter(List<MediaType>) - Method in class org.jooby.MediaType.Matcher
Filter the accepted types and keep the most specifics media types.
fireClose(WebSocket.CloseStatus) - Method in class org.jooby.internal.WebSocketImpl
 
fireErr(Exception) - Method in class org.jooby.internal.WebSocketImpl
 
fireMessage(Mutant) - Method in class org.jooby.internal.WebSocketImpl
 
first(MediaType) - Method in class org.jooby.MediaType.Matcher
Given:
first(List<MediaType>) - Method in class org.jooby.MediaType.Matcher
Given:
floatValue() - Method in class org.jooby.internal.MutantImpl
 
floatValue() - Method in class org.jooby.internal.UploadMutant
 
floatValue() - Method in class org.jooby.internal.WsBinaryMessage
 
floatValue() - Method in interface org.jooby.Mutant
 
forExtension(String) - Method in class org.jooby.MediaTypeProvider
Get a MediaType for a file extension.
forFile(File) - Method in class org.jooby.MediaTypeProvider
Get a MediaType for a file.
form - Static variable in class org.jooby.MediaType
Form url encoded.
format(Object, Body.Writer) - Method in interface org.jooby.Body.Formatter
Attempt to write a message into the HTTP response body.
format(Object, Body.Writer) - Method in class org.jooby.internal.AssetFormatter
 
format() - Method in class org.jooby.internal.ResponseImpl
 
format() - Method in interface org.jooby.Response
Performs content-negotiation on the Accept HTTP header on the request object.
format() - Method in class org.jooby.Response.Forwarding
 
format(Object, Body.Writer) - Method in interface org.jooby.View.Engine
 
formatReader - Static variable in class org.jooby.internal.FallbackBodyConverter
 
formatStream - Static variable in class org.jooby.internal.FallbackBodyConverter
 
formatString - Static variable in class org.jooby.internal.FallbackBodyConverter
 
forPath(String) - Method in class org.jooby.MediaTypeProvider
Get a MediaType for a file path.
forRead(TypeLiteral<?>, Iterable<MediaType>) - Method in class org.jooby.internal.BodyConverterSelector
 
Forwarding(Request) - Constructor for class org.jooby.Request.Forwarding
Creates a new Request.Forwarding request.
Forwarding(Response) - Constructor for class org.jooby.Response.Forwarding
Creates a new Response.Forwarding response.
Forwarding(Route) - Constructor for class org.jooby.Route.Forwarding
Creates a new Route.Forwarding route.
forWrite(Object, Iterable<MediaType>) - Method in class org.jooby.internal.BodyConverterSelector
 
fromStatus(Route.Filter, Verb, String, Status, List<MediaType>) - Static method in class org.jooby.internal.RouteImpl
 

G

generateID(long) - Method in interface org.jooby.Session.Store
Generate a session ID.
get() - Method in interface org.jooby.fn.ExSupplier
Get a result or throw an exception.
get(String) - Method in class org.jooby.internal.AssetProvider
 
get(String) - Method in class org.jooby.internal.jetty.JoobySession
 
get(Request, Response) - Method in class org.jooby.internal.mvc.Param
 
get(String) - Method in class org.jooby.Jooby
Serve a static file from classpath:
get(String, Route.Handler) - Method in class org.jooby.Jooby
Define an in-line route that supports HTTP GET method:
get(String, Route.Filter) - Method in class org.jooby.Jooby
Append a new in-line filter that supports HTTP GET method:
GET - Annotation Type in org.jooby.mvc
HTTP GET verb for mvc routes.
get(String) - Method in interface org.jooby.Session
Get a object from this session.
get(String) - Method in interface org.jooby.Session.Store
Get a session by ID (if any).
getInstance(Key<T>) - Method in class org.jooby.internal.RequestImpl
 
getInstance(Key<T>) - Method in class org.jooby.internal.WebSocketImpl
 
getInstance(Key<T>) - Method in class org.jooby.Request.Forwarding
 
getInstance(Class<T>) - Method in class org.jooby.Request.Forwarding
 
getInstance(TypeLiteral<T>) - Method in class org.jooby.Request.Forwarding
 
getInstance(Class<T>) - Method in interface org.jooby.Request
Ask Guice for the given type.
getInstance(TypeLiteral<T>) - Method in interface org.jooby.Request
Ask Guice for the given type.
getInstance(Key<T>) - Method in interface org.jooby.Request
Ask Guice for the given type.
getInstance(Class<T>) - Method in interface org.jooby.WebSocket
Ask Guice for a type.
getInstance(TypeLiteral<T>) - Method in interface org.jooby.WebSocket
Ask Guice for a type.
getInstance(Key<T>) - Method in interface org.jooby.WebSocket
Ask Guice for a type.
getSession(String) - Method in class org.jooby.internal.jetty.JoobySessionManager
 
getSessionIdManager() - Method in class org.jooby.internal.jetty.JoobySessionManager
 
getSessionManager() - Method in class org.jooby.internal.jetty.JoobySession
 
getSessionStore() - Method in class org.jooby.internal.jetty.JoobySessionManager
 
GOING_AWAY - Static variable in interface org.jooby.WebSocket
"1001 indicates that an endpoint is "going away", such as a server going down or a browser having navigated away from a page."

H

handle(Request, Response, Exception) - Method in class org.jooby.Err.Default
 
handle(Request, Response, Exception) - Method in interface org.jooby.Err.Handler
Handle a route exception by probably logging the error and sending a err response to the client.
handle(Request, Response) - Method in class org.jooby.internal.AssetRoute
 
handle(HttpServletRequest, HttpServletResponse) - Method in class org.jooby.internal.RouteHandler
 
handle(Request, Response, Route.Chain) - Method in class org.jooby.internal.RouteImpl
 
handle(Request, Response, Route.Chain) - Method in class org.jooby.internal.routes.HeadFilter
 
handle(Request, Response) - Method in class org.jooby.internal.routes.OptionsRouter
 
handle(Request, Response) - Method in class org.jooby.internal.routes.TraceRouter
 
handle(Request, Response, Route.Chain) - Method in interface org.jooby.Route.Filter
The handle method of the Filter is called by the server each time a request/response pair is passed through the chain due to a client request for a resource at the end of the chain.
handle(Request, Response) - Method in interface org.jooby.Route.Handler
Callback method for a HTTP request.
handler(Class<? extends Route.Handler>) - Method in class org.jooby.Jooby
Creates a new Route.Handler that delegate the execution to the given handler.
hashCode() - Method in class org.jooby.MediaType
 
hashCode() - Method in class org.jooby.WebSocket.Definition
 
head(String, Route.Handler) - Method in class org.jooby.Jooby
Append a new in-line route that supports HTTP HEAD method:
head(String, Route.Filter) - Method in class org.jooby.Jooby
Append a new in-line route that supports HTTP HEAD method:
head(String) - Method in class org.jooby.Jooby
Append a new route that automatically handles HEAD request from existing GET routes.
HEAD - Annotation Type in org.jooby.mvc
HTTP HEAD verb for mvc routes.
header(String, char) - Method in class org.jooby.Body
Sets a response header with the given name and value.
header(String, byte) - Method in class org.jooby.Body
Sets a response header with the given name and value.
header(String, short) - Method in class org.jooby.Body
Sets a response header with the given name and value.
header(String, int) - Method in class org.jooby.Body
Sets a response header with the given name and value.
header(String, long) - Method in class org.jooby.Body
Sets a response header with the given name and value.
header(String, float) - Method in class org.jooby.Body
Sets a response header with the given name and value.
header(String, double) - Method in class org.jooby.Body
Sets a response header with the given name and value.
header(String, CharSequence) - Method in class org.jooby.Body
Sets a response header with the given name and value.
header(String, Date) - Method in class org.jooby.Body
Sets a response header with the given name and value.
header(String) - Method in class org.jooby.internal.RequestImpl
 
header(String) - Method in class org.jooby.internal.ResponseImpl
 
header(String, byte) - Method in class org.jooby.internal.ResponseImpl
 
header(String, char) - Method in class org.jooby.internal.ResponseImpl
 
header(String, double) - Method in class org.jooby.internal.ResponseImpl
 
header(String, float) - Method in class org.jooby.internal.ResponseImpl
 
header(String, int) - Method in class org.jooby.internal.ResponseImpl
 
header(String, long) - Method in class org.jooby.internal.ResponseImpl
 
header(String, Date) - Method in class org.jooby.internal.ResponseImpl
 
header(String, short) - Method in class org.jooby.internal.ResponseImpl
 
header(String, CharSequence) - Method in class org.jooby.internal.ResponseImpl
 
header(String, byte) - Method in class org.jooby.internal.SetHeaderImpl
 
header(String, char) - Method in class org.jooby.internal.SetHeaderImpl
 
header(String, double) - Method in class org.jooby.internal.SetHeaderImpl
 
header(String, float) - Method in class org.jooby.internal.SetHeaderImpl
 
header(String, int) - Method in class org.jooby.internal.SetHeaderImpl
 
header(String, long) - Method in class org.jooby.internal.SetHeaderImpl
 
header(String, Date) - Method in class org.jooby.internal.SetHeaderImpl
 
header(String, short) - Method in class org.jooby.internal.SetHeaderImpl
 
header(String, CharSequence) - Method in class org.jooby.internal.SetHeaderImpl
 
Header - Annotation Type in org.jooby.mvc
Mark a MVC method parameter as a request header.
header(String) - Method in class org.jooby.Request.Forwarding
 
header(String) - Method in interface org.jooby.Request
Get a HTTP header.
header(String) - Method in class org.jooby.Response.Forwarding
 
header(String, byte) - Method in class org.jooby.Response.Forwarding
 
header(String, char) - Method in class org.jooby.Response.Forwarding
 
header(String, Date) - Method in class org.jooby.Response.Forwarding
 
header(String, double) - Method in class org.jooby.Response.Forwarding
 
header(String, float) - Method in class org.jooby.Response.Forwarding
 
header(String, int) - Method in class org.jooby.Response.Forwarding
 
header(String, long) - Method in class org.jooby.Response.Forwarding
 
header(String, short) - Method in class org.jooby.Response.Forwarding
 
header(String, CharSequence) - Method in class org.jooby.Response.Forwarding
 
header(String) - Method in interface org.jooby.Response
Get a header with the given name.
header(String, char) - Method in interface org.jooby.Response
Sets a response header with the given name and value.
header(String, byte) - Method in interface org.jooby.Response
Sets a response header with the given name and value.
header(String, short) - Method in interface org.jooby.Response
Sets a response header with the given name and value.
header(String, int) - Method in interface org.jooby.Response
Sets a response header with the given name and value.
header(String, long) - Method in interface org.jooby.Response
Sets a response header with the given name and value.
header(String, float) - Method in interface org.jooby.Response
Sets a response header with the given name and value.
header(String, double) - Method in interface org.jooby.Response
Sets a response header with the given name and value.
header(String, CharSequence) - Method in interface org.jooby.Response
Sets a response header with the given name and value.
header(String, Date) - Method in interface org.jooby.Response
Sets a response header with the given name and value.
header(String) - Method in interface org.jooby.Upload
Upload header, like content-type, charset, etc...
headers() - Method in class org.jooby.Body
 
headers() - Method in class org.jooby.internal.RequestImpl
 
headers() - Method in class org.jooby.Request.Forwarding
 
headers() - Method in interface org.jooby.Request
 
HeadFilter - Class in org.jooby.internal.routes
 
HeadFilter(Set<Route.Definition>) - Constructor for class org.jooby.internal.routes.HeadFilter
 
HMAC_SHA256 - Static variable in class org.jooby.Cookie.Signature
Algorithm name.
hostname() - Method in class org.jooby.internal.RequestImpl
 
hostname() - Method in class org.jooby.Request.Forwarding
 
hostname() - Method in interface org.jooby.Request
The fully qualified name of the client or the last proxy that sent the request.
html - Static variable in class org.jooby.MediaType
HTML media type.
HTML - Static variable in interface org.jooby.View.Engine
 
httpOnly(boolean) - Method in class org.jooby.Cookie.Definition
Set HttpOnly flag.
httpOnly() - Method in class org.jooby.Cookie.Definition
 
httpOnly() - Method in interface org.jooby.Cookie
 

I

id() - Method in class org.jooby.internal.jetty.JoobySession
 
id() - Method in interface org.jooby.Session
 
ifMode(String, ExSupplier<T>) - Method in interface org.jooby.Mode
Runs the callback function if the current mode matches the given name.
ifSession() - Method in class org.jooby.internal.RequestImpl
 
ifSession() - Method in class org.jooby.Request.Forwarding
 
ifSession() - Method in interface org.jooby.Request
 
injector() - Method in class org.jooby.internal.RouteHandler
 
intValue() - Method in class org.jooby.internal.MutantImpl
 
intValue() - Method in class org.jooby.internal.UploadMutant
 
intValue() - Method in class org.jooby.internal.WsBinaryMessage
 
intValue() - Method in interface org.jooby.Mutant
 
invoke(T) - Method in interface org.jooby.WebSocket.Callback
Invoked from a web socket.
invoke() - Method in interface org.jooby.WebSocket.Callback0
Invoked from a web socket.
ip() - Method in class org.jooby.internal.RequestImpl
 
ip() - Method in class org.jooby.Request.Forwarding
 
ip() - Method in interface org.jooby.Request
 
is(Verb...) - Method in enum org.jooby.Verb
True if this verb matches any of the current verbs.
isOpen() - Method in class org.jooby.internal.WebSocketImpl
 
isPresent() - Method in class org.jooby.internal.MutantImpl
 
isPresent() - Method in class org.jooby.internal.UploadMutant
 
isPresent() - Method in class org.jooby.internal.WsBinaryMessage
 
isPresent() - Method in interface org.jooby.Mutant
 
isPreserveOnStop() - Method in class org.jooby.internal.jetty.JoobySessionManager
 
isSet(String) - Method in interface org.jooby.Session
Test if the var name exists inside the session local attributes.
isText() - Method in class org.jooby.MediaType
 
isValid() - Method in class org.jooby.internal.jetty.JoobySession
 

J

JAVA_8 - Static variable in interface org.jooby.internal.mvc.ParamNameProvider
 
javascript - Static variable in class org.jooby.MediaType
Javascript media types.
Jetty - Class in org.jooby.internal.jetty
 
Jetty() - Constructor for class org.jooby.internal.jetty.Jetty
 
JettyHandler - Class in org.jooby.internal.jetty
 
JettyHandler(RouteHandler, Config) - Constructor for class org.jooby.internal.jetty.JettyHandler
 
JettyServer - Class in org.jooby.internal.jetty
 
JettyServer(Config, RouteHandler) - Constructor for class org.jooby.internal.jetty.JettyServer
 
JettyServerBuilder - Class in org.jooby.internal.jetty
 
JettyServerBuilder() - Constructor for class org.jooby.internal.jetty.JettyServerBuilder
 
JettyWebSocketHandler - Class in org.jooby.internal.jetty
 
JettyWebSocketHandler(Injector, Config, WebSocketImpl) - Constructor for class org.jooby.internal.jetty.JettyWebSocketHandler
 
Jooby - Class in org.jooby
Getting Started:
Jooby() - Constructor for class org.jooby.Jooby
 
Jooby.Module - Interface in org.jooby
A module can publish or produces: routes, Body.Parser, Body.Formatter, request modules and any other application specific service or contract of your choice.
JoobySession - Class in org.jooby.internal.jetty
 
JoobySession(JoobySessionManager, HttpServletRequest) - Constructor for class org.jooby.internal.jetty.JoobySession
 
JoobySessionIdManager - Class in org.jooby.internal.jetty
 
JoobySessionIdManager(Session.Store, String) - Constructor for class org.jooby.internal.jetty.JoobySessionIdManager
 
JoobySessionManager - Class in org.jooby.internal.jetty
 
JoobySessionManager(Session.Store, String) - Constructor for class org.jooby.internal.jetty.JoobySessionManager
 
json - Static variable in class org.jooby.MediaType
A JSON media type.

L

lastModified() - Method in interface org.jooby.Asset
 
length() - Method in class org.jooby.internal.RequestImpl
 
length(int) - Method in class org.jooby.internal.ResponseImpl
 
length() - Method in class org.jooby.Request.Forwarding
 
length() - Method in interface org.jooby.Request
 
length(int) - Method in class org.jooby.Response.Forwarding
 
length(int) - Method in interface org.jooby.Response
Set the length of the response and set the Content-Length header.
local(String) - Method in class org.jooby.internal.ResponseImpl
 
local(String, Object) - Method in class org.jooby.internal.ResponseImpl
 
local(String) - Method in class org.jooby.Response.Forwarding
 
local(String, Object) - Method in class org.jooby.Response.Forwarding
 
local(String) - Method in interface org.jooby.Response
Get a local variable by it's name.
local(String, Object) - Method in interface org.jooby.Response
Put a local using a var's name.
locale() - Method in class org.jooby.internal.RequestImpl
 
locale() - Method in class org.jooby.Request.Forwarding
 
locale() - Method in interface org.jooby.Request
Get the content of the Accept-Language header.
locals() - Method in class org.jooby.internal.ResponseImpl
 
locals() - Method in class org.jooby.Response.Forwarding
 
locals() - Method in interface org.jooby.Response
Response local variables are scoped to the request, and therefore only available to the view(s) rendered during that request / response cycle.
log - Static variable in interface org.jooby.Session
Logger logs, man.
log - Static variable in interface org.jooby.WebSocket
The logging system.
longValue() - Method in class org.jooby.internal.MutantImpl
 
longValue() - Method in class org.jooby.internal.UploadMutant
 
longValue() - Method in class org.jooby.internal.WsBinaryMessage
 
longValue() - Method in interface org.jooby.Mutant
 

M

matcher(String) - Method in class org.jooby.internal.RoutePattern
 
matcher(MediaType) - Static method in class org.jooby.MediaType
Produces a matcher for the given media type.
matcher(List<MediaType>) - Static method in class org.jooby.MediaType
Produces a matcher for the given media types.
matches() - Method in class org.jooby.internal.RegexRouteMatcher
 
matches() - Method in interface org.jooby.internal.RouteMatcher
 
matches(MediaType) - Method in class org.jooby.MediaType.Matcher
Given:
matches(List<MediaType>) - Method in class org.jooby.MediaType.Matcher
Given:
matches(MediaType) - Method in class org.jooby.MediaType
 
matches(Verb, String, MediaType, List<MediaType>) - Method in class org.jooby.Route.Definition
Test if the route matches the given verb, path, content type and accept header.
matches(String) - Method in class org.jooby.WebSocket.Definition
Test if the given path matches this web socket.
maxAge(int) - Method in class org.jooby.Cookie.Definition
Sets the maximum age in seconds for this Cookie.
maxAge() - Method in class org.jooby.Cookie.Definition
Gets the maximum age in seconds for this Cookie.
maxAge() - Method in interface org.jooby.Cookie
Gets the maximum age in seconds of this Cookie.
MediaType - Class in org.jooby
An immutable implementation of HTTP media types (a.k.a mime types).
MediaType.Matcher - Class in org.jooby
A media type matcher.
MediaTypeProvider - Class in org.jooby
Found a MediaType using a file extension.
MediaTypeProvider(Config) - Constructor for class org.jooby.MediaTypeProvider
Creates a new MediaTypeProvider.
Mode - Interface in org.jooby
Application's mode that let you optimize, customize or apply defaults values for services.
model() - Method in class org.jooby.View
 
moved(String) - Static method in class org.jooby.Body
Produces a redirect (302) status code and set the Location header too.
multipart - Static variable in class org.jooby.MediaType
Form multipart-data media type.
Mutant - Interface in org.jooby
A type safe Mutant useful for reading parameters and headers.
MutantImpl - Class in org.jooby.internal
 
MutantImpl(Injector, String, List<String>, MediaType, Charset) - Constructor for class org.jooby.internal.MutantImpl
 

N

name() - Method in interface org.jooby.Asset
 
name(String) - Method in class org.jooby.Cookie.Definition
Set/Override the cookie's name.
name() - Method in class org.jooby.Cookie.Definition
 
name() - Method in interface org.jooby.Cookie
 
name - Variable in class org.jooby.internal.MutantImpl
 
name(int, Parameter) - Method in class org.jooby.internal.mvc.ASMParamNameProvider
 
name(int, Parameter) - Method in class org.jooby.internal.mvc.ChainParamNameProvider
 
name - Variable in class org.jooby.internal.mvc.Param
 
name(int, Parameter) - Method in interface org.jooby.internal.mvc.ParamNameProvider
 
name() - Method in class org.jooby.internal.RouteImpl
 
name() - Method in class org.jooby.internal.WebSocketImpl
 
name() - Method in class org.jooby.MediaType
 
name() - Method in interface org.jooby.Mode
 
name() - Method in class org.jooby.Route.Definition
 
name(String) - Method in class org.jooby.Route.Definition
Set the route name.
name() - Method in class org.jooby.Route.Forwarding
 
name() - Method in interface org.jooby.Route
 
name() - Method in interface org.jooby.Upload
 
name() - Method in interface org.jooby.View.Engine
 
name() - Method in class org.jooby.View
 
name() - Method in interface org.jooby.WebSocket
 
NAMED - Static variable in interface org.jooby.internal.mvc.ParamNameProvider
 
newSession(HttpServletRequest) - Method in class org.jooby.internal.jetty.JoobySessionManager
 
newSessionId(long) - Method in class org.jooby.internal.jetty.JoobySessionIdManager
 
newSwitch(In) - Static method in class org.jooby.fn.Switch
Creates a new switch.
newSwitch(String) - Static method in class org.jooby.fn.Switch
Creates a new string switch.
next(Request, Response) - Method in interface org.jooby.Route.Chain
Invokes the next route in the chain.
noContent() - Static method in class org.jooby.Body
 
NOOP - Static variable in interface org.jooby.Session.Store
Default store.
NORMAL - Static variable in interface org.jooby.WebSocket
"1000 indicates a normal closure, meaning that the purpose for which the connection was established has been fulfilled."
normalize(String) - Static method in class org.jooby.internal.RoutePattern
 
NOT_ACCEPTABLE - Static variable in interface org.jooby.WebSocket
"1003 indicates that an endpoint is terminating the connection because it has received a type of data it cannot accept (e.g., an endpoint that understands only text data MAY send this if it receives a binary message)."
notFound(Verb, String, List<MediaType>) - Static method in class org.jooby.internal.RouteImpl
 

O

octetstream - Static variable in class org.jooby.MediaType
The default binary media type.
of(String, Object) - Static method in class org.jooby.View
Creates a new View.
of(int) - Static method in class org.jooby.WebSocket.CloseStatus
Creates a new WebSocket.CloseStatus.
of(int, String) - Static method in class org.jooby.WebSocket.CloseStatus
Creates a new WebSocket.CloseStatus.
ok() - Static method in class org.jooby.Body
 
ok(Object) - Static method in class org.jooby.Body
 
onClose(WebSocket.Callback<WebSocket.CloseStatus>) - Method in class org.jooby.internal.WebSocketImpl
 
onClose(WebSocket.Callback<WebSocket.CloseStatus>) - Method in interface org.jooby.WebSocket
Register an close callback to execute when client close the web socket.
onError(WebSocket.Callback<Exception>) - Method in class org.jooby.internal.WebSocketImpl
 
onError(WebSocket.Callback<Exception>) - Method in interface org.jooby.WebSocket
Register an error callback to execute when an error is found.
onMessage(WebSocket.Callback<Mutant>) - Method in class org.jooby.internal.WebSocketImpl
 
onMessage(WebSocket.Callback<Mutant>) - Method in interface org.jooby.WebSocket
Register a callback to execute when a new message arrive.
onWebSocketBinary(byte[], int, int) - Method in class org.jooby.internal.jetty.JettyWebSocketHandler
 
onWebSocketClose(int, String) - Method in class org.jooby.internal.jetty.JettyWebSocketHandler
 
onWebSocketConnect(Session) - Method in class org.jooby.internal.jetty.JettyWebSocketHandler
 
onWebSocketError(Throwable) - Method in class org.jooby.internal.jetty.JettyWebSocketHandler
 
onWebSocketText(String) - Method in class org.jooby.internal.jetty.JettyWebSocketHandler
 
options(String, Route.Handler) - Method in class org.jooby.Jooby
Append a new in-line route that supports HTTP OPTIONS method:
options(String, Route.Filter) - Method in class org.jooby.Jooby
Append a new in-line route that supports HTTP OPTIONS method:
options(String) - Method in class org.jooby.Jooby
Append a new route that automatically handles OPTIONS requests.
OPTIONS - Annotation Type in org.jooby.mvc
HTTP OPTIONS verb for mvc routes.
OptionsRouter - Class in org.jooby.internal.routes
 
OptionsRouter(Set<Route.Definition>) - Constructor for class org.jooby.internal.routes.OptionsRouter
 
org.jooby - package org.jooby
 
org.jooby.fn - package org.jooby.fn
 
org.jooby.internal - package org.jooby.internal
 
org.jooby.internal.jetty - package org.jooby.internal.jetty
 
org.jooby.internal.mvc - package org.jooby.internal.mvc
 
org.jooby.internal.routes - package org.jooby.internal.routes
 
org.jooby.mvc - package org.jooby.mvc
 

P

Param - Class in org.jooby.internal.mvc
 
Param(String, Parameter) - Constructor for class org.jooby.internal.mvc.Param
 
param(String) - Method in class org.jooby.internal.RequestImpl
 
param(String) - Method in class org.jooby.Request.Forwarding
 
param(String) - Method in interface org.jooby.Request
Get a HTTP request parameter under the given name.
parameter - Variable in class org.jooby.internal.mvc.Param
 
parameters(Executable) - Method in class org.jooby.internal.mvc.CachedParamProvider
 
parameters(Executable) - Method in interface org.jooby.internal.mvc.ParamProvider
 
parameters(Executable) - Method in class org.jooby.internal.mvc.ParamProviderImpl
 
ParamNameProvider - Interface in org.jooby.internal.mvc
 
ParamProvider - Interface in org.jooby.internal.mvc
 
ParamProviderImpl - Class in org.jooby.internal.mvc
 
ParamProviderImpl(ParamNameProvider) - Constructor for class org.jooby.internal.mvc.ParamProviderImpl
 
params() - Method in class org.jooby.internal.RequestImpl
 
params() - Method in class org.jooby.MediaType
 
params() - Method in class org.jooby.Request.Forwarding
 
params() - Method in interface org.jooby.Request
Get all the available parameter.
parse(TypeLiteral<T>, Body.Reader) - Method in interface org.jooby.Body.Parser
Attempt to read a message from HTTP request body.
parse(String) - Static method in class org.jooby.MediaType
Convert a string separated by comma into one or more MediaType.
parseString - Static variable in class org.jooby.internal.FallbackBodyConverter
 
path(String) - Method in class org.jooby.Cookie.Definition
Set the cookie's path.
path() - Method in class org.jooby.Cookie.Definition
 
path() - Method in interface org.jooby.Cookie
 
path() - Method in class org.jooby.internal.RegexRouteMatcher
 
path() - Method in class org.jooby.internal.RequestImpl
 
path() - Method in class org.jooby.internal.RouteImpl
 
path() - Method in interface org.jooby.internal.RouteMatcher
 
path() - Method in class org.jooby.internal.WebSocketImpl
 
Path - Annotation Type in org.jooby.mvc
Set a path for Mvc routes.
path() - Method in class org.jooby.Request.Forwarding
 
path() - Method in interface org.jooby.Request
Given:
path() - Method in class org.jooby.Route.Forwarding
 
path() - Method in interface org.jooby.Route
 
path() - Method in interface org.jooby.WebSocket
 
pattern() - Method in class org.jooby.internal.RouteImpl
 
pattern() - Method in class org.jooby.internal.RoutePattern
 
pattern() - Method in class org.jooby.internal.WebSocketImpl
 
pattern() - Method in class org.jooby.Route.Definition
Path Patterns
pattern() - Method in class org.jooby.Route.Forwarding
 
pattern() - Method in interface org.jooby.Route
 
pattern() - Method in class org.jooby.WebSocket.Definition
 
pattern() - Method in interface org.jooby.WebSocket
 
pause() - Method in class org.jooby.internal.WebSocketImpl
 
pause() - Method in interface org.jooby.WebSocket
Pause the client stream.
plain - Static variable in class org.jooby.MediaType
Text plain media type.
POLICY_VIOLATION - Static variable in interface org.jooby.WebSocket
"1008 indicates that an endpoint is terminating the connection because it has received a message that violates its policy.
post(String, Route.Handler) - Method in class org.jooby.Jooby
Append a new in-line route that supports HTTP POST method:
post(String, Route.Filter) - Method in class org.jooby.Jooby
Append a new in-line route that supports HTTP POST method:
POST - Annotation Type in org.jooby.mvc
HTTP POST verb for mvc routes.
preserveOnStop() - Method in class org.jooby.Session.Definition
 
preserveOnStop(boolean) - Method in class org.jooby.Session.Definition
Set/override preserve on stop flag.
produces() - Method in class org.jooby.internal.RouteImpl
 
produces() - Method in class org.jooby.internal.WebSocketImpl
 
Produces - Annotation Type in org.jooby.mvc
Defines what media types a route can produces.
produces(MediaType...) - Method in class org.jooby.Route.Definition
Set the media types the route can produces.
produces(List<MediaType>) - Method in class org.jooby.Route.Definition
Set the media types the route can produces.
produces() - Method in class org.jooby.Route.Definition
 
produces() - Method in class org.jooby.Route.Forwarding
 
produces() - Method in interface org.jooby.Route
 
produces(String) - Method in class org.jooby.WebSocket.Definition
Set the media types the route can produces.
produces(MediaType) - Method in class org.jooby.WebSocket.Definition
Set the media types the route can produces.
produces() - Method in class org.jooby.WebSocket.Definition
 
produces() - Method in interface org.jooby.WebSocket
 
protocol() - Method in class org.jooby.internal.RequestImpl
 
protocol() - Method in class org.jooby.Request.Forwarding
 
protocol() - Method in interface org.jooby.Request
 
PROTOCOL_ERROR - Static variable in interface org.jooby.WebSocket
"1002 indicates that an endpoint is terminating the connection due to a protocol error."
put(String, Route.Handler) - Method in class org.jooby.Jooby
Define an in-line route that supports HTTP PUT method:
put(String, Route.Filter) - Method in class org.jooby.Jooby
Define an in-line route that supports HTTP PUT method:
PUT - Annotation Type in org.jooby.mvc
HTTP PUT verb for mvc routes.

Q

quality() - Method in class org.jooby.MediaType
 

R

read(InputStream) - Method in interface org.jooby.Body.Reader.Bytes
Read bytes from the given InputStream.
read(Reader) - Method in interface org.jooby.Body.Reader.Text
Read text from the given Reader.
reason() - Method in enum org.jooby.Status
 
reason() - Method in class org.jooby.WebSocket.CloseStatus
 
redirect(String) - Static method in class org.jooby.Body
Produces a redirect (302) status code and set the Location header too.
redirect(Status, String) - Method in class org.jooby.internal.ResponseImpl
 
redirect(String) - Method in class org.jooby.Jooby
Redirect to the given url with status code defaulting to Status.FOUND.
redirect(Status, String) - Method in class org.jooby.Jooby
Redirect to the given url with status code defaulting to Status.FOUND.
redirect(String) - Method in class org.jooby.Response.Forwarding
 
redirect(Status, String) - Method in class org.jooby.Response.Forwarding
 
redirect(String) - Method in interface org.jooby.Response
Redirect to the given url with status code defaulting to Status.FOUND.
redirect(Status, String) - Method in interface org.jooby.Response
Redirect to the given url with status code defaulting to Status.FOUND.
RegexRouteMatcher - Class in org.jooby.internal
 
RegexRouteMatcher(String, Matcher, List<String>) - Constructor for class org.jooby.internal.RegexRouteMatcher
 
removeAttribute(String) - Method in class org.jooby.internal.jetty.JoobySession
 
removeSession(String) - Method in class org.jooby.internal.jetty.JoobySessionManager
 
render(View, Body.Writer) - Method in interface org.jooby.View.Engine
Render a view.
renewSessionId(String, String, String, String) - Method in class org.jooby.internal.jetty.JoobySessionManager
 
reqParams(String) - Method in class org.jooby.internal.RequestImpl
 
Request - Interface in org.jooby
Give you access at the current HTTP request in order to read parameters, headers and body.
Request.Forwarding - Class in org.jooby
Forwarding request.
Request.Module - Interface in org.jooby
Jooby doesn't use a custom scope annotation for request scoped object.
RequestImpl - Class in org.jooby.internal
 
RequestImpl(HttpServletRequest, Injector, Route, BodyConverterSelector, MediaType, List<MediaType>, Charset, Locale) - Constructor for class org.jooby.internal.RequestImpl
 
REQUIRED_EXTENSION - Static variable in interface org.jooby.WebSocket
"1010 indicates that an endpoint (client) is terminating the connection because it has expected the server to negotiate one or more extension, but the server didn't return them in the response message of the WebSocket handshake.
reqUploads(String) - Method in class org.jooby.internal.RequestImpl
 
Response - Interface in org.jooby
Give you access to the actual HTTP response.
Response.Formatter - Interface in org.jooby
Handle content negotiation.
Response.Forwarding - Class in org.jooby
A forwarding response.
ResponseImpl - Class in org.jooby.internal
 
ResponseImpl(HttpServletResponse, Injector, Route, Map<String, Object>, BodyConverterSelector, MediaTypeProvider, Charset, Optional<String>) - Constructor for class org.jooby.internal.ResponseImpl
 
resume() - Method in class org.jooby.internal.WebSocketImpl
 
resume() - Method in interface org.jooby.WebSocket
Resume the client stream.
route() - Method in class org.jooby.internal.RequestImpl
 
route() - Method in class org.jooby.Request.Forwarding
 
route() - Method in interface org.jooby.Request
 
Route - Interface in org.jooby
Routes are a key concept in Jooby.
Route.Chain - Interface in org.jooby
Chain of routes to be executed.
Route.Definition - Class in org.jooby
DSL for customize routes.
Route.Filter - Interface in org.jooby
Filter is like a Route.Handler but it decided if the next route handler in the chain can be executed or not.
Route.Forwarding - Class in org.jooby
A forwarding route.
Route.Handler - Interface in org.jooby
A route handler/callback.
RouteHandler - Class in org.jooby.internal
 
RouteHandler(Injector, BodyConverterSelector, Set<Request.Module>, Set<Route.Definition>, Charset, Locale, Err.Handler) - Constructor for class org.jooby.internal.RouteHandler
 
RouteImpl - Class in org.jooby.internal
 
RouteImpl(Route.Filter, Verb, String, String, String, Map<String, String>, List<MediaType>, List<MediaType>) - Constructor for class org.jooby.internal.RouteImpl
 
RouteMatcher - Interface in org.jooby.internal
 
RoutePattern - Class in org.jooby.internal
 
RoutePattern(String, String) - Constructor for class org.jooby.internal.RoutePattern
 
Routes - Class in org.jooby.internal.mvc
 
Routes() - Constructor for class org.jooby.internal.mvc.Routes
 
routes(Mode, Class<?>) - Static method in class org.jooby.internal.mvc.Routes
 

S

save(Session, Session.Store.SaveReason) - Method in interface org.jooby.Session.Store
Save/persist a session.
saveInterval() - Method in class org.jooby.Session.Definition
Indicates in seconds how frequently a no-dirty session should be persisted.
saveInterval(int) - Method in class org.jooby.Session.Definition
Set/override how frequently a no-dirty session should be persisted.
secure(boolean) - Method in class org.jooby.Cookie.Definition
True, ensure that the session cookie is only transmitted via HTTPS.
secure() - Method in class org.jooby.Cookie.Definition
 
secure() - Method in interface org.jooby.Cookie
Returns true if the browser is sending cookies only over a secure protocol, or false if the browser can send cookies using any protocol.
secure() - Method in class org.jooby.internal.RequestImpl
 
secure() - Method in class org.jooby.Request.Forwarding
 
secure() - Method in interface org.jooby.Request
 
seeOther(String) - Static method in class org.jooby.Body
Produces a redirect (302) status code and set the Location header too.
send(Body) - Method in class org.jooby.internal.ResponseImpl
 
send(Object, WebSocket.Callback0, WebSocket.Callback<Exception>) - Method in class org.jooby.internal.WebSocketImpl
 
send() - Method in interface org.jooby.Response.Formatter
Send the response.
send(Object) - Method in class org.jooby.Response.Forwarding
 
send(Body) - Method in class org.jooby.Response.Forwarding
 
send(Object) - Method in interface org.jooby.Response
Responsible of writing the given body into the HTTP response.
send(Body) - Method in interface org.jooby.Response
Responsible of writing the given body into the HTTP response.
send(Object) - Method in interface org.jooby.WebSocket
Send data through the connection.
send(Object, WebSocket.Callback0) - Method in interface org.jooby.WebSocket
Send data through the connection.
send(Object, WebSocket.Callback<Exception>) - Method in interface org.jooby.WebSocket
Send data through the connection.
send(Object, WebSocket.Callback0, WebSocket.Callback<Exception>) - Method in interface org.jooby.WebSocket
Send data through the connection.
Server - Interface in org.jooby.internal
A HTTP web server.
SERVER_ERROR - Static variable in interface org.jooby.WebSocket
"1011 indicates that a server is terminating the connection because it encountered an unexpected condition that prevented it from fulfilling the request."
SERVICE_OVERLOAD - Static variable in interface org.jooby.WebSocket
"1013 indicates that the service is experiencing overload.
SERVICE_RESTARTED - Static variable in interface org.jooby.WebSocket
"1012 indicates that the service is restarted.
session() - Method in class org.jooby.internal.RequestImpl
 
session() - Method in class org.jooby.Request.Forwarding
 
session() - Method in interface org.jooby.Request
 
Session - Interface in org.jooby
Sessions are created on demand from Request.session().
Session.Definition - Class in org.jooby
Hold session related configuration parameters.
Session.Store - Interface in org.jooby
Read, save and delete sessions from a persistent storage.
Session.Store.SaveReason - Enum in org.jooby
Save reasons.
set(String, Object) - Method in class org.jooby.internal.jetty.JoobySession
 
set(String, Object) - Method in interface org.jooby.Session
Set a session local using a the given name.
setAttribute(String, Object) - Method in class org.jooby.internal.jetty.JoobySession
 
setClusterId(String) - Method in class org.jooby.internal.jetty.JoobySession
 
SetHeaderImpl - Class in org.jooby.internal
 
SetHeaderImpl(BiConsumer<String, String>) - Constructor for class org.jooby.internal.SetHeaderImpl
 
setNodeId(String) - Method in class org.jooby.internal.jetty.JoobySession
 
setPreserveOnStop(boolean) - Method in class org.jooby.internal.jetty.JoobySessionManager
 
setSaveInterval(int) - Method in class org.jooby.internal.jetty.JoobySession
 
setSaveInterval(int) - Method in class org.jooby.internal.jetty.JoobySessionManager
 
setSecret(String) - Method in class org.jooby.internal.jetty.JoobySession
 
shortValue() - Method in class org.jooby.internal.MutantImpl
 
shortValue() - Method in class org.jooby.internal.UploadMutant
 
shortValue() - Method in class org.jooby.internal.WsBinaryMessage
 
shortValue() - Method in interface org.jooby.Mutant
 
shutdownSessions() - Method in class org.jooby.internal.jetty.JoobySessionManager
 
sign(String, String) - Static method in class org.jooby.Cookie.Signature
Sign a value using a secret key.
Signature() - Constructor for class org.jooby.Cookie.Signature
 
start() - Method in class org.jooby.internal.jetty.JettyServer
 
start() - Method in interface org.jooby.internal.Server
Start the web server.
start() - Method in interface org.jooby.Jooby.Module
Callback method to start a module.
start() - Method in class org.jooby.Jooby
Bootstrap
start(String[]) - Method in class org.jooby.Jooby
Bootstrap
status(Status) - Method in class org.jooby.Body
Set response status.
status(int) - Method in class org.jooby.Body
Set response status.
status() - Method in class org.jooby.Body
 
status() - Method in class org.jooby.internal.ResponseImpl
 
status(Status) - Method in class org.jooby.internal.ResponseImpl
 
status() - Method in class org.jooby.Response.Forwarding
 
status(Status) - Method in class org.jooby.Response.Forwarding
 
status(int) - Method in class org.jooby.Response.Forwarding
 
status() - Method in interface org.jooby.Response
 
status(Status) - Method in interface org.jooby.Response
Set the HTTP response status.
status(int) - Method in interface org.jooby.Response
Set the HTTP response status.
Status - Enum in org.jooby
HTTP status codes.
statusCode() - Method in exception org.jooby.Err
 
stop() - Method in class org.jooby.internal.jetty.JettyServer
 
stop() - Method in interface org.jooby.internal.Server
Stop the web server.
stop() - Method in interface org.jooby.Jooby.Module
Callback method to stop a module and clean any resources.
stop() - Method in class org.jooby.Jooby
Stop the application, close all the modules and stop the web server.
store() - Method in class org.jooby.Session.Definition
 
stream() - Method in interface org.jooby.Asset
 
stringValue() - Method in class org.jooby.internal.MutantImpl
 
stringValue() - Method in class org.jooby.internal.UploadMutant
 
stringValue() - Method in class org.jooby.internal.WsBinaryMessage
 
stringValue() - Method in interface org.jooby.Mutant
 
subtype() - Method in class org.jooby.MediaType
 
SUCCESS - Static variable in interface org.jooby.WebSocket
Default success callback.
Switch<In,Out> - Class in org.jooby.fn
A programmatic switch:

T

tempRedirect(String) - Static method in class org.jooby.Body
Produces a redirect (307) status code and set the Location header too.
terminate() - Method in class org.jooby.internal.WebSocketImpl
 
terminate() - Method in interface org.jooby.WebSocket
Immediately shuts down the connection.
text(Body.Reader.Text) - Method in interface org.jooby.Body.Reader
Convert a HTTP request body to something else.
text(Body.Writer.Text) - Method in interface org.jooby.Body.Writer
Write text into the HTTP response body using the Body.Writer.charset() and close the resources.
text(Body.Reader.Text) - Method in class org.jooby.internal.BodyReaderImpl
 
text - Static variable in class org.jooby.MediaType
Any text media type.
timeout(int) - Method in class org.jooby.Session.Definition
Set and override default session time out of 30 to something else.
timeout() - Method in class org.jooby.Session.Definition
 
to(TypeLiteral<T>) - Method in class org.jooby.internal.MutantImpl
 
to(TypeLiteral<T>) - Method in class org.jooby.internal.UploadMutant
 
to(TypeLiteral<T>) - Method in class org.jooby.internal.WsBinaryMessage
 
to(Class<T>) - Method in interface org.jooby.Mutant
Get a value using one of the existing and specific converters or an arbitrary type that has: A constructor that accepts a String A static method valueOf that takes a single String parameter. A static method fromString that takes a single String parameter.
to(TypeLiteral<T>) - Method in interface org.jooby.Mutant
Get a value using one of the existing and specific converters or an arbitrary type that has: A constructor that accepts a String A static method valueOf that takes a single String parameter. A static method fromString that takes a single String parameter.
toCookie() - Method in class org.jooby.Cookie.Definition
Produces a cookie from current definition.
toList() - Static method in class org.jooby.fn.Collectors
 
toList(Class<T>) - Method in class org.jooby.internal.MutantImpl
 
toList(Class<T>) - Method in class org.jooby.internal.UploadMutant
 
toList(Class<T>) - Method in class org.jooby.internal.WsBinaryMessage
 
toList(Class<T>) - Method in interface org.jooby.Mutant
 
TOO_BIG_TO_PROCESS - Static variable in interface org.jooby.WebSocket
"1009 indicates that an endpoint is terminating the connection because it has received a message that is too big for it to process."
toOptional(Class<T>) - Method in class org.jooby.internal.MutantImpl
 
toOptional(Class<T>) - Method in class org.jooby.internal.UploadMutant
 
toOptional(Class<T>) - Method in class org.jooby.internal.WsBinaryMessage
 
toOptional(Class<T>) - Method in interface org.jooby.Mutant
 
toSet() - Static method in class org.jooby.fn.Collectors
 
toSet(Class<T>) - Method in class org.jooby.internal.MutantImpl
 
toSet(Class<T>) - Method in class org.jooby.internal.UploadMutant
 
toSet(Class<T>) - Method in class org.jooby.internal.WsBinaryMessage
 
toSet(Class<T>) - Method in interface org.jooby.Mutant
 
toSortedSet(Class<T>) - Method in class org.jooby.internal.MutantImpl
 
toSortedSet(Class<T>) - Method in class org.jooby.internal.UploadMutant
 
toSortedSet(Class<T>) - Method in class org.jooby.internal.WsBinaryMessage
 
toSortedSet(Class<T>) - Method in interface org.jooby.Mutant
 
toString() - Method in class org.jooby.internal.jetty.JoobySession
 
toString() - Method in class org.jooby.internal.MutantImpl
 
toString() - Method in class org.jooby.internal.mvc.Param
 
toString() - Method in class org.jooby.internal.RequestImpl
 
toString() - Method in class org.jooby.internal.ResponseImpl
 
toString() - Method in class org.jooby.internal.RouteHandler
 
toString() - Method in class org.jooby.internal.RouteImpl
 
toString() - Method in class org.jooby.internal.RoutePattern
 
toString() - Method in class org.jooby.internal.WebSocketImpl
 
toString() - Method in class org.jooby.MediaType
 
toString() - Method in class org.jooby.Request.Forwarding
 
toString() - Method in class org.jooby.Response.Forwarding
 
toString() - Method in class org.jooby.Route.Definition
 
toString() - Method in class org.jooby.Route.Forwarding
 
toString() - Method in enum org.jooby.Status
Return a string representation of this status code.
toString() - Method in class org.jooby.View
 
toString() - Method in class org.jooby.WebSocket.CloseStatus
 
toString() - Method in class org.jooby.WebSocket.Definition
 
trace(String, Route.Handler) - Method in class org.jooby.Jooby
Append a new in-line route that supports HTTP TRACE method:
trace(String, Route.Filter) - Method in class org.jooby.Jooby
Append a new in-line route that supports HTTP TRACE method:
trace(String) - Method in class org.jooby.Jooby
Append a default trace implementation under the given path.
TRACE - Annotation Type in org.jooby.mvc
HTTP TRACE verb for mvc routes.
TraceRouter - Class in org.jooby.internal.routes
 
TraceRouter() - Constructor for class org.jooby.internal.routes.TraceRouter
 
type() - Method in interface org.jooby.Asset
 
type(MediaType) - Method in class org.jooby.Body
Set the content type of this body.
type() - Method in class org.jooby.Body
 
type() - Method in class org.jooby.internal.RequestImpl
 
type() - Method in class org.jooby.internal.ResponseImpl
 
type(MediaType) - Method in class org.jooby.internal.ResponseImpl
 
type() - Method in class org.jooby.MediaType
 
type() - Method in class org.jooby.Request.Forwarding
 
type() - Method in interface org.jooby.Request
 
type() - Method in class org.jooby.Response.Forwarding
 
type(MediaType) - Method in class org.jooby.Response.Forwarding
 
type(String) - Method in class org.jooby.Response.Forwarding
 
type() - Method in interface org.jooby.Response
 
type(MediaType) - Method in interface org.jooby.Response
Set the response media type and set the Content-Type header.
type(String) - Method in interface org.jooby.Response
Set the response media type and set the Content-Type header.
type() - Method in interface org.jooby.Upload
 
TypeConverters - Class in org.jooby.internal
 
TypeConverters() - Constructor for class org.jooby.internal.TypeConverters
 
types() - Method in interface org.jooby.Body.Formatter
The Accept header is tested against this type in order to decided if this formatter accept or not a type.
types() - Method in interface org.jooby.Body.Parser
The Content-Type header is tested against this type in order to decided if this parser accept or not a type.
types() - Method in class org.jooby.internal.AssetFormatter
 
types() - Method in class org.jooby.MediaTypeProvider
Produces a map where keys are file extensions and values are mediaTypes.
types() - Method in interface org.jooby.View.Engine
 

U

unset(String) - Method in class org.jooby.internal.jetty.JoobySession
 
unset() - Method in class org.jooby.internal.jetty.JoobySession
 
unset(String) - Method in interface org.jooby.Session
Remove a local value (if any) from session locals.
unset() - Method in interface org.jooby.Session
Unset/remove all the session data.
unsign(String, String) - Static method in class org.jooby.Cookie.Signature
Un-sign a value, previously signed with Cookie.Signature.sign(String, String).
unwrap(Request) - Static method in class org.jooby.Request.Forwarding
Unwrap a request in order to find out the target instance.
unwrap(Response) - Static method in class org.jooby.Response.Forwarding
Unwrap a response in order to find out the target instance.
unwrap(Route) - Static method in class org.jooby.Route.Forwarding
Find a target route.
Upload - Interface in org.jooby
File upload from a browser on MediaType.multipart request.
UploadMutant - Class in org.jooby.internal
 
UploadMutant(String, List<Upload>) - Constructor for class org.jooby.internal.UploadMutant
 
use(Session.Store) - Method in class org.jooby.Jooby
Setup a session store to use.
use(Body.Formatter) - Method in class org.jooby.Jooby
Append a body formatter for write HTTP messages.
use(Body.Parser) - Method in class org.jooby.Jooby
Append a body parser for write HTTP messages.
use(String, Route.Filter) - Method in class org.jooby.Jooby
Append a new filter that matches any method under the given path.
use(String, String, Route.Filter) - Method in class org.jooby.Jooby
Append a new filter that matches any method under the given path.
use(String, String, Route.Handler) - Method in class org.jooby.Jooby
Append a new route handler that matches any method under the given path.
use(String, Route.Handler) - Method in class org.jooby.Jooby
Append a new route handler that matches any method under the given path.
use(Class<?>) - Method in class org.jooby.Jooby
Append one or more routes defined in the given class.
use(Jooby.Module) - Method in class org.jooby.Jooby
Register a application module.
use(Request.Module) - Method in class org.jooby.Jooby
Register a request module.
use(Config) - Method in class org.jooby.Jooby
Set the application configuration object.

V

valid(String, String) - Static method in class org.jooby.Cookie.Signature
True, if the given signed value is valid.
value(String) - Method in class org.jooby.Cookie.Definition
Set the cookie's value.
value() - Method in class org.jooby.Cookie.Definition
 
value() - Method in interface org.jooby.Cookie
 
value() - Method in class org.jooby.fn.Switch
Test all the switches and find the first who best matches the input value.
value() - Method in enum org.jooby.Status
 
valueOf(String) - Static method in class org.jooby.MediaType
Convert a media type expressed as String into a MediaType.
valueOf(String...) - Static method in class org.jooby.MediaType
Convert one or more media types expressed as String into a MediaType.
valueOf(String) - Static method in enum org.jooby.Session.Store.SaveReason
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.jooby.Status
Returns the enum constant of this type with the specified name.
valueOf(int) - Static method in enum org.jooby.Status
Return the enum constant of this type with the specified numeric value.
valueOf(String) - Static method in enum org.jooby.Verb
Returns the enum constant of this type with the specified name.
values - Variable in class org.jooby.internal.MutantImpl
 
values() - Static method in enum org.jooby.Session.Store.SaveReason
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.jooby.Status
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.jooby.Verb
Returns an array containing the constants of this enum type, in the order they are declared.
vars() - Method in class org.jooby.internal.RegexRouteMatcher
 
vars() - Method in class org.jooby.internal.RouteImpl
 
vars() - Method in interface org.jooby.internal.RouteMatcher
Get path vars from current path.
vars() - Method in class org.jooby.internal.WebSocketImpl
 
vars() - Method in class org.jooby.Route.Forwarding
 
vars() - Method in interface org.jooby.Route
 
vars() - Method in interface org.jooby.WebSocket
 
verb() - Method in class org.jooby.internal.RouteImpl
 
verb() - Method in class org.jooby.Request.Forwarding
 
verb() - Method in interface org.jooby.Request
 
verb() - Method in class org.jooby.Route.Definition
 
verb() - Method in class org.jooby.Route.Forwarding
 
verb() - Method in interface org.jooby.Route
 
Verb - Enum in org.jooby
HTTP Verbs (a.k.a methods)
version() - Method in interface org.jooby.Cookie
 
View - Class in org.jooby
Hold view information like view's name and model.
View.Engine - Interface in org.jooby
Special body serializer for dealing with View.
Viewable - Annotation Type in org.jooby.mvc
Define a view's name to use from a MVC method.
viewableTypes() - Method in class org.jooby.internal.BodyConverterSelector
 
viewableTypes() - Method in class org.jooby.internal.ResponseImpl
 

W

WebSocket - Interface in org.jooby
WebSockets
WebSocket.Callback<T> - Interface in org.jooby
Web socket callback.
WebSocket.Callback0 - Interface in org.jooby
Web socket callback.
WebSocket.CloseStatus - Class in org.jooby
Hold a status code and optionally a reason message for WebSocket.close() operations.
WebSocket.Definition - Class in org.jooby
Configure a web socket.
WebSocket.Handler - Interface in org.jooby
A web socket connect handler.
WebSocketImpl - Static variable in class org.jooby.internal.jetty.JettyServerBuilder
 
WebSocketImpl - Class in org.jooby.internal
 
WebSocketImpl(WebSocket.Handler, String, String, Map<String, String>, MediaType, MediaType) - Constructor for class org.jooby.internal.WebSocketImpl
 
when(In, Out) - Method in class org.jooby.fn.Switch
Append a new option.
when(Predicate<In>, Out) - Method in class org.jooby.fn.Switch
Append a new option.
when(In, ExSupplier<Out>) - Method in class org.jooby.fn.Switch
Append a new option.
when(Predicate<In>, ExSupplier<Out>) - Method in class org.jooby.fn.Switch
Append a new option.
when(String, ExSupplier<T>) - Method in interface org.jooby.Mode
Produces a Switch of the current Mode.
when(String, T) - Method in interface org.jooby.Mode
Produces a Switch of the current Mode.
when(Predicate<String>, T) - Method in interface org.jooby.Mode
Produces a Switch of the current Mode.
when(String, ExSupplier<Object>) - Method in interface org.jooby.Response.Formatter
Add a new when clause for a custom media-type.
when(MediaType, ExSupplier<Object>) - Method in interface org.jooby.Response.Formatter
Add a new when clause for a custom media-type.
write(OutputStream) - Method in interface org.jooby.Body.Writer.Bytes
Write bytes into the given OutputStream.
write(Writer) - Method in interface org.jooby.Body.Writer.Text
Write text into the given Writer.
ws(String, WebSocket.Handler) - Method in class org.jooby.Jooby
Append a new WebSocket handler under the given path.
WsBinaryMessage - Class in org.jooby.internal
 
WsBinaryMessage(ByteBuffer) - Constructor for class org.jooby.internal.WsBinaryMessage
 

X

xhr() - Method in class org.jooby.Request.Forwarding
 
xhr() - Method in interface org.jooby.Request
 
xml - Static variable in class org.jooby.MediaType
Xml media type.
A B C D E F G H I J L M N O P Q R S T U V W X 
Skip navigation links

Copyright © 2014. All rights reserved.