AeroGear Netty SockJS Codec 0.12.0
A B C D E F G H I J K M N O P R S T U V W X 

A

AbstractSendTransport - Class in org.jboss.aerogear.io.netty.handler.codec.sockjs.transport
A common base class for SockJS transports that send messages to a SockJS service.
AbstractSendTransport(SockJsConfig) - Constructor for class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.AbstractSendTransport
 
AbstractSockJsServiceFactory - Class in org.jboss.aerogear.io.netty.handler.codec.sockjs
 
AbstractSockJsServiceFactory(SockJsConfig) - Constructor for class org.jboss.aerogear.io.netty.handler.codec.sockjs.AbstractSockJsServiceFactory
 
addWsCodec(ChannelFuture) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.WebSocketHAProxyHandshaker
 
areCookiesNeeded() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsConfig
Determines if a JSESSIONID cookie will be set.
ArgumentUtil - Class in org.jboss.aerogear.io.netty.handler.codec.sockjs.util
 

B

badRequestResponse(HttpVersion, String) - Static method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.Transports
Creates a FullHttpResponse with the BAD_REQUEST status and a body.
build() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsConfig.Builder
Builds Config with the previously set values.

C

calculateLastKey(ByteBuf) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.WebSocketHAProxyHandshaker
 
channelInactive(ChannelHandlerContext) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.SessionHandler
 
channelRead(ChannelHandlerContext, Object) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.SessionHandler
 
channelRead(ChannelHandlerContext, Object) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.HtmlFileTransport
 
channelRead(ChannelHandlerContext, Object) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.JsonpPollingTransport
 
checkNotEmpty(Collection<?>, String) - Static method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.util.ArgumentUtil
 
checkNotNegative(long, String) - Static method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.util.ArgumentUtil
 
checkNotNull(T, String) - Static method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.util.ArgumentUtil
 
checkNotNullAndNotEmpty(T, String) - Static method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.util.ArgumentUtil
 
checkNotNullAndNotEmpty(Collection<?>, String) - Static method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.util.ArgumentUtil
 
close() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.SessionHandler.DefaultSockJsSessionContext
 
close() - Method in interface org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsSessionContext
Close the current session.
CloseFrame - Class in org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol
This frame is sent from the server if the client requests data from a closed connection.
CloseFrame(int, String) - Constructor for class org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.CloseFrame
Creates a new frame with the specified status code and message.
config() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.AbstractSockJsServiceFactory
 
config() - Method in interface org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsService
The SockJsConfig for this service
config() - Method in interface org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsServiceFactory
The SockJsConfig for the session itself.
config - Variable in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.AbstractSendTransport
 
CONTENT_TYPE_EVENT_STREAM - Static variable in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.EventSourceTransport
 
CONTENT_TYPE_FORM - Static variable in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.Transports
 
CONTENT_TYPE_HTML - Static variable in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.Transports
 
CONTENT_TYPE_JAVASCRIPT - Static variable in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.Transports
 
CONTENT_TYPE_PLAIN - Static variable in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.Transports
 
cookiesNeeded() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsConfig.Builder
Determines if a JSESSIONID cookie will be set.
copy() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.CloseFrame
 
copy() - Method in interface org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.Frame
 
copy() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.HeartbeatFrame
 
copy() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.MessageFrame
 
copy() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.OpenFrame
 
copy() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.PreludeFrame
 
CorsInboundHandler - Class in org.jboss.aerogear.io.netty.handler.codec.sockjs.handler
Handles CORS preflight requests for the sockjs-protocol.
CorsInboundHandler() - Constructor for class org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.CorsInboundHandler
 
CorsMetadata - Class in org.jboss.aerogear.io.netty.handler.codec.sockjs.handler
Stores Cross Origin Resource Sharing (CORS) information.
CorsMetadata() - Constructor for class org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.CorsMetadata
Create a new instance with 'origin' of any '*' and with no headers.
CorsMetadata(String, String) - Constructor for class org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.CorsMetadata
Create a new instance.
CorsOutboundHandler - Class in org.jboss.aerogear.io.netty.handler.codec.sockjs.handler
 
CorsOutboundHandler() - Constructor for class org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.CorsOutboundHandler
 
create() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.AbstractSockJsServiceFactory
 
create() - Method in interface org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsServiceFactory
Creates a new instance, or reuse and existing instance, of the service.
createResponse(String) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.EventSourceTransport
 
createResponse(String) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.HtmlFileTransport
 
createResponse(String) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.XhrStreamingTransport
 

D

decode(TextWebSocketFrame) - Static method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.util.JsonUtil
 
decode(String) - Static method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.util.JsonUtil
 
DEFAULT_COOKIE - Static variable in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.Transports
 
disableWebSocket() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsConfig.Builder
Will disable WebSocket suppport.
duplicate() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.CloseFrame
 
duplicate() - Method in interface org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.Frame
 
duplicate() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.HeartbeatFrame
 
duplicate() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.MessageFrame
 
duplicate() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.OpenFrame
 
duplicate() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.PreludeFrame
 

E

encode(String) - Static method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.util.JsonUtil
 
encodeSessionIdCookie(HttpRequest) - Static method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.Transports
Encodes the passes in requests JSESSIONID, if one exists, setting it to path of '/'.
escapeCharacters(char[]) - Static method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.Transports
Escapes unicode characters in the passed in char array to a Java string with Java style escaped charaters.
escapeJson(ByteBuf, ByteBuf) - Static method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.Transports
Processes the input ByteBuf and escapes the any control characters, quotes, slashes, and unicode characters.
EventSourceTransport - Class in org.jboss.aerogear.io.netty.handler.codec.sockjs.transport
EventSource transport is an streaming transport in that is maintains a persistent connection from the server to the client over which the server can send messages.
EventSourceTransport(SockJsConfig, HttpRequest) - Constructor for class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.EventSourceTransport
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.CorsOutboundHandler
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.SockJsHandler
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.RawWebSocketTransport
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.WebSocketHAProxyTransport
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.WebSocketTransport
 
exceptionCaught(ChannelHandlerContext, Throwable) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.XhrPollingTransport
 

F

Frame - Interface in org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol
Represents a SockJS frame.

G

generateContent() - Static method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.PreludeFrame
 
getContext() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.SessionHandler.DefaultSockJsSessionContext
 
getContext() - Method in interface org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsSessionContext
Get the underlying ChannelHandlerContext.

H

handshake(Channel, FullHttpRequest) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.WebSocketHAProxyHandshaker
 
hasHeaders() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.CorsMetadata
Determines whether this instance has headers or not.
headers() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.CorsMetadata
Returns the headers origin.
HeartbeatFrame - Class in org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol
A heartbeat frame is sent by the server to keep the connection from breaking.
HeartbeatFrame() - Constructor for class org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.HeartbeatFrame
 
heartbeatInterval(long) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsConfig.Builder
Specifies a heartbeat interval.
heartbeatInterval() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsConfig
A heartbeat interval.
HtmlFileTransport - Class in org.jboss.aerogear.io.netty.handler.codec.sockjs.transport
A streaming transport for SockJS.
HtmlFileTransport(SockJsConfig, HttpRequest) - Constructor for class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.HtmlFileTransport
 

I

internalServerErrorResponse(HttpVersion, String) - Static method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.Transports
Creates a FullHttpResponse with the INTERNAL_SERVER_ERROR status and a body.
isHAProxyReqeust(FullHttpRequest) - Static method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.WebSocketHAProxyHandshaker
A HAProxy request is a WebSocket Upgrade request with out a 'Sec-WebSocket-Version' and does not have the final handshake key in the body of the request.
isTls() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsConfig
Determines whether transport layer security (TLS) should be used.
isWebSocketEnabled() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsConfig
Determines whether WebSocket support will not be enabled.

J

JSESSIONID - Static variable in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.Transports
 
JsonpPollingTransport - Class in org.jboss.aerogear.io.netty.handler.codec.sockjs.transport
JSON Padding (JSONP) Polling is a transport where there is no open connection between the client and the server.
JsonpPollingTransport(SockJsConfig, FullHttpRequest) - Constructor for class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.JsonpPollingTransport
 
JsonpSendTransport - Class in org.jboss.aerogear.io.netty.handler.codec.sockjs.transport
JSON Padding (JSONP) Polling is a transport where there is no open connection between the client and the server.
JsonpSendTransport(SockJsConfig) - Constructor for class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.JsonpSendTransport
 
JsonUtil - Class in org.jboss.aerogear.io.netty.handler.codec.sockjs.util
 

K

keyStore(String) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsConfig.Builder
Specifies the keystore to be used if transport layer security (TLS) is enabled.
keyStore() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsConfig
Returns the keystore to be used if transport layer security is enabled.
keyStorePassword(String) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsConfig.Builder
Specifies the keystore password to be used if transport layer security (TLS) is enabled.
keyStorePassword() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsConfig
Returns the keystore password to be used if transport layer security is enabled.

M

matches() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.SockJsHandler.MatchingSessionPath
 
matches() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.SockJsHandler.NonSupportedPath
 
matches() - Method in interface org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.SockJsHandler.PathParams
 
maxStreamingBytesSize(int) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsConfig.Builder
The max number of types that a streaming transport protocol should allow to be returned before closing the connection, forcing the client to reconnect.
maxStreamingBytesSize() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsConfig
The max number of types that a streaming transport protocol should allow to be returned before closing the connection, forcing the client to reconnect.
MessageFrame - Class in org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol
A MessageFrame carries application data, and consists of any array of JSON encoded messages.
MessageFrame(String) - Constructor for class org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.MessageFrame
 
MessageFrame(String...) - Constructor for class org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.MessageFrame
 
MessageFrame(List<String>) - Constructor for class org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.MessageFrame
 
messageReceived(ChannelHandlerContext, HttpRequest) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.CorsInboundHandler
 
messageReceived(ChannelHandlerContext, FullHttpRequest) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.SockJsHandler
 
messageReceived(ChannelHandlerContext, FullHttpRequest) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.AbstractSendTransport
 
messageReceived(ChannelHandlerContext, Object) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.RawWebSocketTransport
 
messageReceived(ChannelHandlerContext, Object) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.WebSocketHAProxyTransport
 
messageReceived(ChannelHandlerContext, Object) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.WebSocketTransport
 
messages() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.MessageFrame
 
methodNotAllowedResponse(HttpVersion) - Static method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.Transports
Creates a FullHttpResponse with the METHOD_NOT_ALLOWED status.

N

newHandshakeResponse(FullHttpRequest, HttpHeaders) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.WebSocketHAProxyHandshaker
 

O

onClose() - Method in interface org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsService
Will be called when the session is closed.
onMessage(String) - Method in interface org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsService
Will be called when a message is sent to the service.
onOpen(SockJsSessionContext) - Method in interface org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsService
Will be called when a new session is opened.
OpenFrame - Class in org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol
Everytime a new session is estabilshed with the server the server must sent an OpenFrame in accordance with Protocol and Framing.
OpenFrame() - Constructor for class org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.OpenFrame
 
org.jboss.aerogear.io.netty.handler.codec.sockjs - package org.jboss.aerogear.io.netty.handler.codec.sockjs
An SockJS impelementation.
org.jboss.aerogear.io.netty.handler.codec.sockjs.handler - package org.jboss.aerogear.io.netty.handler.codec.sockjs.handler
An SockJS impelementation.
org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol - package org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol
Frames for SockJS.
org.jboss.aerogear.io.netty.handler.codec.sockjs.transport - package org.jboss.aerogear.io.netty.handler.codec.sockjs.transport
Transport implementations for SockJS
org.jboss.aerogear.io.netty.handler.codec.sockjs.util - package org.jboss.aerogear.io.netty.handler.codec.sockjs.util
Simple utility classes for Netty SockJS.
origin() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.CorsMetadata
Returns the stored origin.

P

path() - Method in enum org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.Transports.Type
 
prefix() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsConfig
The prefix/name, of the SockJS service.
PreludeFrame - Class in org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol
A PreludeFrame the first message sent by the xhr-streaming protocol.
PreludeFrame() - Constructor for class org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.PreludeFrame
 

R

RawWebSocketTransport - Class in org.jboss.aerogear.io.netty.handler.codec.sockjs.transport
WebSocketTransport is responsible for the WebSocket handshake and also for receiving WebSocket frames.
RawWebSocketTransport(SockJsConfig, SockJsService) - Constructor for class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.RawWebSocketTransport
 
respond(ChannelHandlerContext, FullHttpRequest) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.AbstractSendTransport
Allows concrete subclasses to very how they will respond after a message has been sent to the target SockJS service.
respond(ChannelHandlerContext, HttpVersion, HttpResponseStatus, String) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.AbstractSendTransport
 
respond(ChannelHandlerContext, FullHttpRequest) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.JsonpSendTransport
 
respond(ChannelHandlerContext, HttpVersion, HttpResponseStatus, String, String, ChannelPromise) - Static method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.Transports
Sends a HttpResponse using the ChannelHandlerContext passed in.
respond(ChannelHandlerContext, HttpVersion, HttpResponseStatus, String, String) - Static method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.Transports
Sends a HttpResponse using the ChannelHandlerContext passed in.
respond(ChannelHandlerContext, FullHttpRequest) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.XhrSendTransport
 
responseWithContent(HttpVersion, HttpResponseStatus, String, String) - Static method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.Transports
Creates FullHttpResponse with a response body.
responseWithoutContent(HttpVersion, HttpResponseStatus) - Static method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.Transports
Creates FullHttpResponse without a response body.
retain() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.CloseFrame
 
retain(int) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.CloseFrame
 
retain() - Method in interface org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.Frame
 
retain(int) - Method in interface org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.Frame
 
retain() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.HeartbeatFrame
 
retain(int) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.HeartbeatFrame
 
retain() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.MessageFrame
 
retain(int) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.MessageFrame
 
retain() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.OpenFrame
 
retain(int) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.OpenFrame
 
retain() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.PreludeFrame
 
retain(int) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.PreludeFrame
 

S

send(String) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.SessionHandler.DefaultSockJsSessionContext
 
send(String) - Method in interface org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsSessionContext
Send data to the current session.
serverId() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.SockJsHandler.MatchingSessionPath
 
serverId() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.SockJsHandler.NonSupportedPath
 
serverId() - Method in interface org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.SockJsHandler.PathParams
The serverId is chosen by the client and exists to make it easier to configure load balancers to enable sticky sessions.
SessionHandler - Class in org.jboss.aerogear.io.netty.handler.codec.sockjs.handler
A ChannelHandler that manages SockJS sessions.
SessionHandler(SessionState) - Constructor for class org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.SessionHandler
 
SessionHandler.DefaultSockJsSessionContext - Class in org.jboss.aerogear.io.netty.handler.codec.sockjs.handler
 
SessionHandler.DefaultSockJsSessionContext() - Constructor for class org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.SessionHandler.DefaultSockJsSessionContext
 
SessionHandler.Event - Enum in org.jboss.aerogear.io.netty.handler.codec.sockjs.handler
 
sessionId() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.SockJsHandler.MatchingSessionPath
 
sessionId() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.SockJsHandler.NonSupportedPath
 
sessionId() - Method in interface org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.SockJsHandler.PathParams
The sessionId is a unique random number which identifies the session.
sessionTimeout(long) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsConfig.Builder
The max number of types that a streaming transport protocol should allow to be returned before closing the connection, forcing the client to reconnect.
sessionTimeout() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsConfig
A time out for inactive sessions.
setCORSHeaders(HttpResponse) - Static method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.Transports
Sets the CORS Http response headers ACCESS_CONTROLL_ALLOW_ORIGIN to '*', and ACCESS_CONTROL_ALLOW_CREDENTIALS to 'true".
setDefaultHeaders(HttpResponse, SockJsConfig) - Static method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.Transports
Sets the following Http response headers - SET_COOKIE if SockJsConfig.areCookiesNeeded() is true - CACHE_CONTROL to Transports.setNoCacheHeaders(HttpResponse) - CORS Headers to Transports.setCORSHeaders(HttpResponse)
setDefaultHeaders(FullHttpResponse, SockJsConfig, HttpRequest) - Static method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.Transports
Sets the following Http response headers - SET_COOKIE if SockJsConfig.areCookiesNeeded() is true, and uses the requests cookie
setNoCacheHeaders(HttpResponse) - Static method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.Transports
Sets the Http response header CACHE_CONTROL to Transports.NO_CACHE_HEADER.
setSessionIdCookie(FullHttpResponse, SockJsConfig, HttpRequest) - Static method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.Transports
Sets the Http response header SET_COOKIE if SockJsConfig.areCookiesNeeded() is true.
SockJsConfig - Class in org.jboss.aerogear.io.netty.handler.codec.sockjs
Configuration for a SockJS Session.
SockJsConfig.Builder - Class in org.jboss.aerogear.io.netty.handler.codec.sockjs
 
SockJsConfig.Builder(String) - Constructor for class org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsConfig.Builder
The prefix, or name, of the service.
SockJsHandler - Class in org.jboss.aerogear.io.netty.handler.codec.sockjs.handler
This handler is the main entry point for SockJS HTTP Request.
SockJsHandler(SockJsServiceFactory...) - Constructor for class org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.SockJsHandler
Sole constructor which takes one or more SockJSServiceFactory.
SockJsHandler.MatchingSessionPath - Class in org.jboss.aerogear.io.netty.handler.codec.sockjs.handler
 
SockJsHandler.MatchingSessionPath(String, String, String) - Constructor for class org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.SockJsHandler.MatchingSessionPath
 
SockJsHandler.NonSupportedPath - Class in org.jboss.aerogear.io.netty.handler.codec.sockjs.handler
 
SockJsHandler.NonSupportedPath() - Constructor for class org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.SockJsHandler.NonSupportedPath
 
SockJsHandler.PathParams - Interface in org.jboss.aerogear.io.netty.handler.codec.sockjs.handler
Represents HTTP path parameters in SockJS.
SockJsService - Interface in org.jboss.aerogear.io.netty.handler.codec.sockjs
Represents the server side business application server in SockJS.
SockJsServiceFactory - Interface in org.jboss.aerogear.io.netty.handler.codec.sockjs
A factory for creating SockJsService instances.
SockJsSessionContext - Interface in org.jboss.aerogear.io.netty.handler.codec.sockjs
Allows a SockJsService to interact with its session by providing methods to send data, and to close the session.
sockJsUrl(String) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsConfig.Builder
The url to the sock-js-.json.
sockJsUrl() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsConfig
The url to the sock-js-.json.
statusCode() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.CloseFrame
Returns the status code for this close frame.
statusMsg() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.CloseFrame
Returns the status message for this close frame.

T

tls(boolean) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsConfig.Builder
Determines whether transport layer security (TLS) should be used.
toString() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.CorsMetadata
 
toString() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.CloseFrame
 
toString() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.HeartbeatFrame
 
toString() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.MessageFrame
 
toString() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.protocol.OpenFrame
 
toString() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsConfig
 
toString() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.JsonpSendTransport
 
toString() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.XhrSendTransport
 
transport() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.SockJsHandler.MatchingSessionPath
 
transport() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.SockJsHandler.NonSupportedPath
 
transport() - Method in interface org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.SockJsHandler.PathParams
The type of transport.
Transports - Class in org.jboss.aerogear.io.netty.handler.codec.sockjs.transport
Transports contains constants, enums, and utility methods that are common across transport implementations.
Transports.Type - Enum in org.jboss.aerogear.io.netty.handler.codec.sockjs.transport
 

U

userEventTriggered(ChannelHandlerContext, Object) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.SessionHandler
 

V

valueOf(String) - Static method in enum org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.SessionHandler.Event
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.Transports.Type
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.SessionHandler.Event
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.Transports.Type
Returns an array containing the constants of this enum type, in the order they are declared.

W

WebSocketHAProxyHandshaker - Class in org.jboss.aerogear.io.netty.handler.codec.sockjs.transport
An extension of WebSocketServerHandshaker00 which handles Hixie76 upgrade requests that plays nicely with HAProxy.
WebSocketHAProxyHandshaker(String, String, int) - Constructor for class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.WebSocketHAProxyHandshaker
 
WebSocketHAProxyTransport - Class in org.jboss.aerogear.io.netty.handler.codec.sockjs.transport
WebSocketTransport is responsible for the WebSocket handshake and also for receiving WebSocket frames.
WebSocketHAProxyTransport(WebSocketHAProxyHandshaker) - Constructor for class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.WebSocketHAProxyTransport
 
webSocketHeartbeatInterval(long) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsConfig.Builder
Specifies a heartbeat interval for SockJS WebSocket transport.
webSocketHeartbeatInterval() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsConfig
The WebSocket heartbeat interval.
webSocketProtocol() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsConfig
If WebSockets are in use the this give the oppertunity to specify what 'WebSocket-Protocols' should be returned and supported by this SockJS session.
webSocketProtocolCSV() - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsConfig
If WebSockets are in use the this give the oppertunity to specify what 'WebSocket-Protocols' should be returned and supported by this SockJS session.
webSocketProtocols(String...) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsConfig.Builder
Adds the given protocols which will be returned to during the Http upgrade request as the header 'WebSocket-Protocol'.
WebSocketTransport - Class in org.jboss.aerogear.io.netty.handler.codec.sockjs.transport
WebSocketTransport is responsible for the WebSocket handshake and also for receiving WebSocket frames.
WebSocketTransport(SockJsConfig) - Constructor for class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.WebSocketTransport
 
withPrefix(String) - Static method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.SockJsConfig
The prefix, or name, of the service.
wrapWithLN(ByteBuf) - Static method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.Transports
Will add an new line character to the passed in ByteBuf.
write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.handler.CorsOutboundHandler
 
write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.EventSourceTransport
 
write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.HtmlFileTransport
 
write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.JsonpPollingTransport
 
write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.XhrPollingTransport
 
write(ChannelHandlerContext, Object, ChannelPromise) - Method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.XhrStreamingTransport
 
writeContent(FullHttpResponse, String, String) - Static method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.Transports
Writes the passed in String content to the response and also sets te content-type and content-lenght headaers.
writeResponse(ChannelHandlerContext, HttpResponse) - Static method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.Transports
Writes the passed in respone to the ChannelHandlerContext if it is active.
writeResponse(ChannelHandlerContext, ChannelPromise, HttpResponse) - Static method in class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.Transports
Writes the passed in respone to the ChannelHandlerContext if it is active.

X

XhrPollingTransport - Class in org.jboss.aerogear.io.netty.handler.codec.sockjs.transport
XMLHttpRequest (XHR) Polling is a transport where there is no open connection between the client and the server.
XhrPollingTransport(SockJsConfig, FullHttpRequest) - Constructor for class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.XhrPollingTransport
Sole constructor.
XhrSendTransport - Class in org.jboss.aerogear.io.netty.handler.codec.sockjs.transport
XMLHttpRequest (XHR) streaming transport is a transport where a persistent connection is maintained between the server and the client, over which the server can send HTTP chunks.
XhrSendTransport(SockJsConfig) - Constructor for class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.XhrSendTransport
 
XhrStreamingTransport - Class in org.jboss.aerogear.io.netty.handler.codec.sockjs.transport
XMLHttpRequest (XHR) streaming transport is a transport where a persistent connection is maintained between the server and the client, over which the server can send HTTP chunks.
XhrStreamingTransport(SockJsConfig, HttpRequest) - Constructor for class org.jboss.aerogear.io.netty.handler.codec.sockjs.transport.XhrStreamingTransport
Sole constructor.
A B C D E F G H I J K M N O P R S T U V W X 
AeroGear Netty SockJS Codec 0.12.0

Copyright © 2014 JBoss by Red Hat. All Rights Reserved.