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

A

Action - Interface in sinetja
Functional interface for Java 8.
after() - Method in class sinetja.Server
 
after(Action) - Method in class sinetja.Server
 
after(Class<? extends Action>) - Method in class sinetja.Server
 

B

before() - Method in class sinetja.Server
 
before(Action) - Method in class sinetja.Server
 
before(Class<? extends Action>) - Method in class sinetja.Server
 
bodyParams() - Method in class sinetja.Request
 

C

channel() - Method in class sinetja.Request
 
charset() - Method in class sinetja.Server
 
charset(Charset) - Method in class sinetja.Server
 
clientIp() - Method in class sinetja.Request
 
content() - Method in class sinetja.Request
 
content() - Method in class sinetja.Response
 
copy() - Method in class sinetja.Request
 
copy() - Method in class sinetja.Response
 
cors() - Method in class sinetja.Server
 
cors(CorsConfig) - Method in class sinetja.Server
 

D

debug(String) - Static method in class sinetja.Log
 
debug(String, Object) - Static method in class sinetja.Log
 
debug(String, Object...) - Static method in class sinetja.Log
 
debug(String, Throwable) - Static method in class sinetja.Log
 
debug(Marker, String) - Static method in class sinetja.Log
 
debug(String, Object, Object) - Static method in class sinetja.Log
 
debug(Marker, String, Object) - Static method in class sinetja.Log
 
debug(Marker, String, Object...) - Static method in class sinetja.Log
 
debug(Marker, String, Throwable) - Static method in class sinetja.Log
 
debug(Marker, String, Object, Object) - Static method in class sinetja.Log
 
decodedPath() - Method in class sinetja.Request
 
decoderResult() - Method in class sinetja.Request
 
decoderResult() - Method in class sinetja.Response
 
DefaultErrorHandler - Class in sinetja
 
DefaultErrorHandler() - Constructor for class sinetja.DefaultErrorHandler
 
DefaultInstantiator - Class in sinetja
 
DefaultInstantiator() - Constructor for class sinetja.DefaultInstantiator
 
DefaultNotFoundHandler - Class in sinetja
 
DefaultNotFoundHandler() - Constructor for class sinetja.DefaultNotFoundHandler
 
doneResponding() - Method in class sinetja.Response
 
duplicate() - Method in class sinetja.Request
 
duplicate() - Method in class sinetja.Response
 

E

error(String) - Static method in class sinetja.Log
 
error(String, Object) - Static method in class sinetja.Log
 
error(String, Object...) - Static method in class sinetja.Log
 
error(String, Throwable) - Static method in class sinetja.Log
 
error(Marker, String) - Static method in class sinetja.Log
 
error(String, Object, Object) - Static method in class sinetja.Log
 
error(Marker, String, Object) - Static method in class sinetja.Log
 
error(Marker, String, Object...) - Static method in class sinetja.Log
 
error(Marker, String, Throwable) - Static method in class sinetja.Log
 
error(Marker, String, Object, Object) - Static method in class sinetja.Log
 
error() - Method in class sinetja.Server
 
error(ErrorHandler) - Method in class sinetja.Server
 
error(Class<? extends ErrorHandler>) - Method in class sinetja.Server
 
ErrorHandler - Interface in sinetja
Functional interface for Java 8.

F

formatRfc2822(Long) - Static method in class sinetja.NotModified
 

G

getDecoderResult() - Method in class sinetja.Request
 
getDecoderResult() - Method in class sinetja.Response
 
getMethod() - Method in class sinetja.Request
 
getName() - Static method in class sinetja.Log
 
getProtocolVersion() - Method in class sinetja.Request
 
getProtocolVersion() - Method in class sinetja.Response
 
getStatus() - Method in class sinetja.Response
 
getUri() - Method in class sinetja.Request
 

H

headers() - Method in class sinetja.Request
 
headers() - Method in class sinetja.Response
 

I

if_keepAliveRequest_then_resumeReading_else_closeOnComplete(HttpRequest, Channel, ChannelFuture) - Static method in class sinetja.NoRealPipelining
Handle keep alive as long as there's the request contains 'connection:Keep-Alive' header, no matter what the client is 1.0 or 1.1: http://sockjs.github.com/sockjs-protocol/sockjs-protocol-0.3.3.html#section-157
info(String) - Static method in class sinetja.Log
 
info(String, Object) - Static method in class sinetja.Log
 
info(String, Object...) - Static method in class sinetja.Log
 
info(String, Throwable) - Static method in class sinetja.Log
 
info(Marker, String) - Static method in class sinetja.Log
 
info(String, Object, Object) - Static method in class sinetja.Log
 
info(Marker, String, Object) - Static method in class sinetja.Log
 
info(Marker, String, Object...) - Static method in class sinetja.Log
 
info(Marker, String, Throwable) - Static method in class sinetja.Log
 
info(Marker, String, Object, Object) - Static method in class sinetja.Log
 
instantiate(Object) - Method in class sinetja.DefaultInstantiator
 
instantiate(Object) - Method in interface sinetja.Instantiator
If given a class, returns an instance from the class.
Instantiator - Interface in sinetja
 
instantiator() - Method in class sinetja.Server
 
instantiator(Instantiator) - Method in class sinetja.Server
 
isDebugEnabled() - Static method in class sinetja.Log
 
isDebugEnabled(Marker) - Static method in class sinetja.Log
 
isErrorEnabled() - Static method in class sinetja.Log
 
isErrorEnabled(Marker) - Static method in class sinetja.Log
 
isInfoEnabled() - Static method in class sinetja.Log
 
isInfoEnabled(Marker) - Static method in class sinetja.Log
 
isTraceEnabled() - Static method in class sinetja.Log
 
isTraceEnabled(Marker) - Static method in class sinetja.Log
 
isWarnEnabled() - Static method in class sinetja.Log
 
isWarnEnabled(Marker) - Static method in class sinetja.Log
 

J

jdkSsl() - Method in class sinetja.Server
Uses autogenerated selfsigned certificate.
jdkSsl(String, String) - Method in class sinetja.Server
 
jdkSsl(String, String, String) - Method in class sinetja.Server
 

L

Log - Class in sinetja
 
Log() - Constructor for class sinetja.Log
 

M

maxContentLength() - Method in class sinetja.Server
 
maxContentLength(int) - Method in class sinetja.Server
Default max content length in request body is 1 MB.
method() - Method in class sinetja.Request
 
MissingParam - Exception in sinetja
 
MissingParam(String) - Constructor for exception sinetja.MissingParam
 

N

NoRealPipelining - Class in sinetja
http://en.wikipedia.org/wiki/HTTP_pipelining
NoRealPipelining() - Constructor for class sinetja.NoRealPipelining
 
NotModified - Class in sinetja
 
NotModified() - Constructor for class sinetja.NotModified
 

O

openSsl() - Method in class sinetja.Server
Uses autogenerated selfsigned certificate.
openSsl(String, String) - Method in class sinetja.Server
 
openSsl(String, String, String) - Method in class sinetja.Server
 

P

param() - Method in exception sinetja.MissingParam
 
param(String) - Method in class sinetja.Request
Order: path, body, query
paramo(String) - Method in class sinetja.Request
Order: path, body, query
params(String) - Method in class sinetja.Request
 
pathParams() - Method in class sinetja.Request
 
pauseReading(Channel) - Static method in class sinetja.NoRealPipelining
 
protocolVersion() - Method in class sinetja.Request
 
protocolVersion() - Method in class sinetja.Response
 

Q

queryParams() - Method in class sinetja.Request
 

R

refCnt() - Method in class sinetja.Request
 
refCnt() - Method in class sinetja.Response
 
release() - Method in class sinetja.Request
 
release(int) - Method in class sinetja.Request
 
release() - Method in class sinetja.Response
 
release(int) - Method in class sinetja.Response
 
remoteIp() - Method in class sinetja.Request
 
renderEventSource(Object) - Method in class sinetja.Response
 
renderEventSource(Object, String) - Method in class sinetja.Response
 
replace(ByteBuf) - Method in class sinetja.Request
 
replace(ByteBuf) - Method in class sinetja.Response
 
Request - Class in sinetja
 
Request(Server, Channel, FullHttpRequest, RouteResult) - Constructor for class sinetja.Request
 
respond() - Method in class sinetja.Response
 
respondBinary(byte[]) - Method in class sinetja.Response
If Content-Type header is not set, it is set to "application/octet-stream".
respondBinary(ByteBuf) - Method in class sinetja.Response
If Content-Type header is not set, it is set to "application/octet-stream".
respondEventSource(Object) - Method in class sinetja.Response
To respond event source, call this method as many time as you want.
respondEventSource(Object, String) - Method in class sinetja.Response
To respond event source, call this method as many time as you want.
respondFile(String) - Method in class sinetja.Response
 
respondFile(File) - Method in class sinetja.Response
 
respondHtml(Object) - Method in class sinetja.Response
Content-Type header is set to "text/html".
respondJs(Object) - Method in class sinetja.Response
Content-Type header is set to "application/javascript".
respondJson(Object) - Method in class sinetja.Response
Converts the given Java object to JSON object using Jackson ObjectMapper, and responds it.
respondJsonP(Object, String) - Method in class sinetja.Response
Converts the given Java object to JSON object using Jackson ObjectMapper, wraps it with the given JavaScript function name, and responds.
respondJsonPText(Object, String) - Method in class sinetja.Response
Wraps the text with the given JavaScript function name, and responds.
respondJsonText(Object) - Method in class sinetja.Response
Content-Type header is set to "application/json".
respondText(Object) - Method in class sinetja.Response
 
respondText(Object, String) - Method in class sinetja.Response
 
respondXml(Object) - Method in class sinetja.Response
Content-Type header is set to "application/xml".
Response - Class in sinetja
 
Response(Server, Channel, Request, RouteResult) - Constructor for class sinetja.Response
 
resumeReading(Channel) - Static method in class sinetja.NoRealPipelining
 
retain() - Method in class sinetja.Request
 
retain(int) - Method in class sinetja.Request
 
retain() - Method in class sinetja.Response
 
retain(int) - Method in class sinetja.Response
 
retainedDuplicate() - Method in class sinetja.Request
 
retainedDuplicate() - Method in class sinetja.Response
 
run(Request, Response) - Method in interface sinetja.Action
If run throws MissingParam exception when calling request.param, response.respondMissingParam will automatically be called, which by default responds "400 Bad Request".
run(Request, Response, Exception) - Method in class sinetja.DefaultErrorHandler
 
run(Request, Response) - Method in class sinetja.DefaultNotFoundHandler
 
run(Request, Response, Exception) - Method in interface sinetja.ErrorHandler
 

S

server() - Method in class sinetja.Request
 
Server - Class in sinetja
 
Server(int) - Constructor for class sinetja.Server
 
Server(String, int) - Constructor for class sinetja.Server
 
setClientCacheAggressively(HttpHeaders) - Static method in class sinetja.NotModified
Tells the browser to cache static files for a long time.
setClientCacheAggressively() - Method in class sinetja.Response
 
setDecoderResult(DecoderResult) - Method in class sinetja.Request
 
setDecoderResult(DecoderResult) - Method in class sinetja.Response
 
setMethod(HttpMethod) - Method in class sinetja.Request
 
setNoClientCache(HttpHeaders) - Static method in class sinetja.NotModified
Prevents client cache.
setNoClientCache() - Method in class sinetja.Response
 
setProtocolVersion(HttpVersion) - Method in class sinetja.Request
 
setProtocolVersion(HttpVersion) - Method in class sinetja.Response
 
setStatus(HttpResponseStatus) - Method in class sinetja.Response
 
setUri(String) - Method in class sinetja.Request
 
sinetja - package sinetja
 
sslContext() - Method in class sinetja.Server
 
sslContext(SslContext) - Method in class sinetja.Server
 
start() - Method in class sinetja.Server
 
status() - Method in class sinetja.Response
 
stop() - Method in class sinetja.Server
Stops the server gracefully.
stopAtShutdown() - Method in class sinetja.Server
Registers a JVM shutdown hook that calls stop() to stop the server gracefully.

T

toString() - Method in class sinetja.Request
 
toString() - Method in class sinetja.Response
 
touch() - Method in class sinetja.Request
 
touch(Object) - Method in class sinetja.Request
 
touch() - Method in class sinetja.Response
 
touch(Object) - Method in class sinetja.Response
 
trace(String) - Static method in class sinetja.Log
 
trace(String, Object) - Static method in class sinetja.Log
 
trace(String, Object...) - Static method in class sinetja.Log
 
trace(String, Throwable) - Static method in class sinetja.Log
 
trace(Marker, String) - Static method in class sinetja.Log
 
trace(String, Object, Object) - Static method in class sinetja.Log
 
trace(Marker, String, Object) - Static method in class sinetja.Log
 
trace(Marker, String, Object...) - Static method in class sinetja.Log
 
trace(Marker, String, Throwable) - Static method in class sinetja.Log
 
trace(Marker, String, Object, Object) - Static method in class sinetja.Log
 
trailingHeaders() - Method in class sinetja.Request
 
trailingHeaders() - Method in class sinetja.Response
 

U

uri() - Method in class sinetja.Request
 

W

warn(String) - Static method in class sinetja.Log
 
warn(String, Object) - Static method in class sinetja.Log
 
warn(String, Object...) - Static method in class sinetja.Log
 
warn(String, Throwable) - Static method in class sinetja.Log
 
warn(Marker, String) - Static method in class sinetja.Log
 
warn(String, Object, Object) - Static method in class sinetja.Log
 
warn(Marker, String, Object) - Static method in class sinetja.Log
 
warn(Marker, String, Object...) - Static method in class sinetja.Log
 
warn(Marker, String, Throwable) - Static method in class sinetja.Log
 
warn(Marker, String, Object, Object) - Static method in class sinetja.Log
 
A B C D E F G H I J L M N O P Q R S T U W 
Skip navigation links