| Package | Description |
|---|---|
| org.jboss.aerogear.io.netty.handler.codec.sockjs |
An SockJS impelementation.
|
| org.jboss.aerogear.io.netty.handler.codec.sockjs.transport |
Transport implementations for SockJS
|
| Modifier and Type | Method and Description |
|---|---|
SockJsConfig |
SockJsConfig.Builder.build()
Builds Config with the previously set values.
|
SockJsConfig |
SockJsServiceFactory.config()
The
SockJsConfig for the session itself. |
SockJsConfig |
SockJsService.config()
The
SockJsConfig for this service |
SockJsConfig |
AbstractSockJsServiceFactory.config() |
| Constructor and Description |
|---|
AbstractSockJsServiceFactory(SockJsConfig config) |
| Modifier and Type | Field and Description |
|---|---|
protected SockJsConfig |
AbstractSendTransport.config |
| Modifier and Type | Method and Description |
|---|---|
static void |
Transports.setDefaultHeaders(io.netty.handler.codec.http.FullHttpResponse response,
SockJsConfig config,
io.netty.handler.codec.http.HttpRequest request)
Sets the following Http response headers
- SET_COOKIE if
areCookiesNeeded() is true, and uses the requests cookie |
static void |
Transports.setDefaultHeaders(io.netty.handler.codec.http.HttpResponse response,
SockJsConfig config)
Sets the following Http response headers
- SET_COOKIE if
areCookiesNeeded() is true
- CACHE_CONTROL to Transports.setNoCacheHeaders(HttpResponse)
- CORS Headers to Transports.setCORSHeaders(HttpResponse) |
static void |
Transports.setSessionIdCookie(io.netty.handler.codec.http.FullHttpResponse response,
SockJsConfig config,
io.netty.handler.codec.http.HttpRequest request)
Sets the Http response header SET_COOKIE if
areCookiesNeeded() is true. |
| Constructor and Description |
|---|
AbstractSendTransport(SockJsConfig config) |
EventSourceTransport(SockJsConfig config,
io.netty.handler.codec.http.HttpRequest request) |
HtmlFileTransport(SockJsConfig config,
io.netty.handler.codec.http.HttpRequest request) |
JsonpPollingTransport(SockJsConfig config,
io.netty.handler.codec.http.FullHttpRequest request) |
JsonpSendTransport(SockJsConfig config) |
RawWebSocketTransport(SockJsConfig config,
SockJsService service) |
WebSocketTransport(SockJsConfig config) |
XhrPollingTransport(SockJsConfig config,
io.netty.handler.codec.http.FullHttpRequest request)
Sole constructor.
|
XhrSendTransport(SockJsConfig config) |
XhrStreamingTransport(SockJsConfig config,
io.netty.handler.codec.http.HttpRequest request)
Sole constructor.
|
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.