| Package | Description |
|---|---|
| org.jboss.netty.example.http.snoop | |
| org.jboss.netty.example.http.upload | |
| org.jboss.netty.example.http.websocketx.autobahn |
This package is intended for use with testing against the Python
AutoBahn test suite.
|
| org.jboss.netty.example.http.websocketx.server |
This package contains an example web socket web server.
|
| org.jboss.netty.handler.codec.http |
Encoder, decoder and their related message types for HTTP.
|
| org.jboss.netty.handler.codec.http.multipart |
HTTP multipart support.
|
| org.jboss.netty.handler.codec.http.websocketx |
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
|
| org.jboss.netty.handler.codec.spdy |
Encoder, decoder, session handler and their related message types for the SPDY protocol.
|
| Modifier and Type | Field and Description |
|---|---|
private HttpRequest |
HttpSnoopServerHandler.request |
| Modifier and Type | Field and Description |
|---|---|
private HttpRequest |
HttpUploadServerHandler.request |
| Modifier and Type | Method and Description |
|---|---|
private static java.lang.String |
AutobahnServerHandler.getWebSocketLocation(HttpRequest req) |
private void |
AutobahnServerHandler.handleHttpRequest(ChannelHandlerContext ctx,
HttpRequest req) |
private static void |
AutobahnServerHandler.sendHttpResponse(ChannelHandlerContext ctx,
HttpRequest req,
HttpResponse res) |
| Modifier and Type | Method and Description |
|---|---|
private static java.lang.String |
WebSocketServerHandler.getWebSocketLocation(HttpRequest req) |
private void |
WebSocketServerHandler.handleHttpRequest(ChannelHandlerContext ctx,
HttpRequest req) |
private static void |
WebSocketServerHandler.sendHttpResponse(ChannelHandlerContext ctx,
HttpRequest req,
HttpResponse res) |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultHttpRequest
The default
HttpRequest implementation. |
| Modifier and Type | Field and Description |
|---|---|
private HttpRequest |
HttpPostMultipartRequestDecoder.request
Request to decode
|
private HttpRequest |
HttpPostRequestEncoder.request
Request to encode
|
private HttpRequest |
HttpPostStandardRequestDecoder.request
Request to decode
|
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<HttpRequest,java.util.List<HttpData>> |
DefaultHttpDataFactory.requestFileDeleteMap
Keep all HttpDatas until cleanAllHttpDatas() is called.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
HttpPostRequestEncoder.finalizeRequest()
Finalize the request by preparing the Header in the request and
returns the request ready to be sent.
Once finalized, no data must be added. If the request does not need chunk (isChunked() == false), this request is the only object to send to the remote server. |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultHttpDataFactory.cleanRequestHttpDatas(HttpRequest request) |
void |
HttpDataFactory.cleanRequestHttpDatas(HttpRequest request)
Remove all InterfaceHttpData from virtual File storage from clean list for the request
|
Attribute |
DefaultHttpDataFactory.createAttribute(HttpRequest request,
java.lang.String name) |
Attribute |
HttpDataFactory.createAttribute(HttpRequest request,
java.lang.String name) |
Attribute |
DefaultHttpDataFactory.createAttribute(HttpRequest request,
java.lang.String name,
java.lang.String value) |
Attribute |
HttpDataFactory.createAttribute(HttpRequest request,
java.lang.String name,
java.lang.String value) |
FileUpload |
DefaultHttpDataFactory.createFileUpload(HttpRequest request,
java.lang.String name,
java.lang.String filename,
java.lang.String contentType,
java.lang.String contentTransferEncoding,
java.nio.charset.Charset charset,
long size) |
FileUpload |
HttpDataFactory.createFileUpload(HttpRequest request,
java.lang.String name,
java.lang.String filename,
java.lang.String contentType,
java.lang.String contentTransferEncoding,
java.nio.charset.Charset charset,
long size) |
private java.util.List<HttpData> |
DefaultHttpDataFactory.getList(HttpRequest request) |
static boolean |
HttpPostRequestDecoder.isMultipart(HttpRequest request)
Check if the given request is a multipart request
|
void |
DefaultHttpDataFactory.removeHttpDataFromClean(HttpRequest request,
InterfaceHttpData data) |
void |
HttpDataFactory.removeHttpDataFromClean(HttpRequest request,
InterfaceHttpData data)
Remove the given InterfaceHttpData from clean list (will not delete the file, except if the file
is still a temporary one as setup at construction)
|
| Modifier and Type | Method and Description |
|---|---|
private static java.lang.String |
WebSocketServerProtocolHandshakeHandler.getWebSocketLocation(ChannelPipeline cp,
HttpRequest req,
java.lang.String path) |
abstract ChannelFuture |
WebSocketServerHandshaker.handshake(Channel channel,
HttpRequest req)
Performs the opening handshake
|
ChannelFuture |
WebSocketServerHandshaker00.handshake(Channel channel,
HttpRequest req)
Handle the web socket handshake for the web socket specification HyBi version 0 and lower.
|
ChannelFuture |
WebSocketServerHandshaker07.handshake(Channel channel,
HttpRequest req)
Handle the web socket handshake for the web socket specification HyBi version 7.
|
ChannelFuture |
WebSocketServerHandshaker08.handshake(Channel channel,
HttpRequest req)
Handle the web socket handshake for the web socket specification HyBi version 8 to 10.
|
ChannelFuture |
WebSocketServerHandshaker13.handshake(Channel channel,
HttpRequest req)
Handle the web socket handshake for the web socket specification HyBi
versions 13-17.
|
WebSocketServerHandshaker |
WebSocketServerHandshakerFactory.newHandshaker(HttpRequest req)
Instances a new handshaker
|
private static void |
WebSocketServerProtocolHandshakeHandler.sendHttpResponse(ChannelHandlerContext ctx,
HttpRequest req,
HttpResponse res) |
| Modifier and Type | Method and Description |
|---|---|
private static HttpRequest |
SpdyHttpDecoder.createHttpRequest(int spdyVersion,
SpdyHeadersFrame requestFrame) |