Package | Description |
---|---|
io.netty.handler.codec.http |
Encoder, decoder and their related message types for HTTP.
|
io.netty.handler.codec.http.cors |
This package contains Cross Origin Resource Sharing (CORS) related classes.
|
io.netty.handler.codec.http.websocketx |
Encoder, decoder, handshakers and their related message types for
Web Socket data frames.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultHttpHeaders |
class |
EmptyHttpHeaders |
Modifier and Type | Method and Description |
---|---|
HttpHeaders |
HttpHeaders.add(CharSequence name,
CharSequence... values) |
HttpHeaders |
DefaultHttpHeaders.add(CharSequence name,
CharSequence... values) |
HttpHeaders |
EmptyHttpHeaders.add(CharSequence name,
CharSequence... values) |
HttpHeaders |
HttpHeaders.add(CharSequence name,
CharSequence value) |
HttpHeaders |
DefaultHttpHeaders.add(CharSequence name,
CharSequence value) |
HttpHeaders |
EmptyHttpHeaders.add(CharSequence name,
CharSequence value) |
HttpHeaders |
HttpHeaders.add(CharSequence name,
Iterable<? extends CharSequence> values) |
HttpHeaders |
DefaultHttpHeaders.add(CharSequence name,
Iterable<? extends CharSequence> values) |
HttpHeaders |
EmptyHttpHeaders.add(CharSequence name,
Iterable<? extends CharSequence> values) |
HttpHeaders |
HttpHeaders.add(TextHeaders headers) |
HttpHeaders |
DefaultHttpHeaders.add(TextHeaders headers) |
HttpHeaders |
EmptyHttpHeaders.add(TextHeaders headers) |
HttpHeaders |
HttpHeaders.addBoolean(CharSequence name,
boolean value) |
HttpHeaders |
DefaultHttpHeaders.addBoolean(CharSequence name,
boolean value) |
HttpHeaders |
EmptyHttpHeaders.addBoolean(CharSequence name,
boolean value) |
HttpHeaders |
HttpHeaders.addByte(CharSequence name,
byte value) |
HttpHeaders |
DefaultHttpHeaders.addByte(CharSequence name,
byte value) |
HttpHeaders |
EmptyHttpHeaders.addByte(CharSequence name,
byte value) |
HttpHeaders |
HttpHeaders.addChar(CharSequence name,
char value) |
HttpHeaders |
DefaultHttpHeaders.addChar(CharSequence name,
char value) |
HttpHeaders |
EmptyHttpHeaders.addChar(CharSequence name,
char value) |
HttpHeaders |
HttpHeaders.addDouble(CharSequence name,
double value) |
HttpHeaders |
DefaultHttpHeaders.addDouble(CharSequence name,
double value) |
HttpHeaders |
EmptyHttpHeaders.addDouble(CharSequence name,
double value) |
HttpHeaders |
HttpHeaders.addFloat(CharSequence name,
float value) |
HttpHeaders |
DefaultHttpHeaders.addFloat(CharSequence name,
float value) |
HttpHeaders |
EmptyHttpHeaders.addFloat(CharSequence name,
float value) |
HttpHeaders |
HttpHeaders.addInt(CharSequence name,
int value) |
HttpHeaders |
DefaultHttpHeaders.addInt(CharSequence name,
int value) |
HttpHeaders |
EmptyHttpHeaders.addInt(CharSequence name,
int value) |
HttpHeaders |
HttpHeaders.addLong(CharSequence name,
long value) |
HttpHeaders |
DefaultHttpHeaders.addLong(CharSequence name,
long value) |
HttpHeaders |
EmptyHttpHeaders.addLong(CharSequence name,
long value) |
HttpHeaders |
HttpHeaders.addObject(CharSequence name,
Iterable<?> values) |
HttpHeaders |
DefaultHttpHeaders.addObject(CharSequence name,
Iterable<?> values) |
HttpHeaders |
EmptyHttpHeaders.addObject(CharSequence name,
Iterable<?> values) |
HttpHeaders |
HttpHeaders.addObject(CharSequence name,
Object... values) |
HttpHeaders |
DefaultHttpHeaders.addObject(CharSequence name,
Object... values) |
HttpHeaders |
EmptyHttpHeaders.addObject(CharSequence name,
Object... values) |
HttpHeaders |
HttpHeaders.addObject(CharSequence name,
Object value) |
HttpHeaders |
DefaultHttpHeaders.addObject(CharSequence name,
Object value) |
HttpHeaders |
EmptyHttpHeaders.addObject(CharSequence name,
Object value) |
HttpHeaders |
HttpHeaders.addShort(CharSequence name,
short value) |
HttpHeaders |
DefaultHttpHeaders.addShort(CharSequence name,
short value) |
HttpHeaders |
EmptyHttpHeaders.addShort(CharSequence name,
short value) |
HttpHeaders |
HttpHeaders.addTimeMillis(CharSequence name,
long value) |
HttpHeaders |
DefaultHttpHeaders.addTimeMillis(CharSequence name,
long value) |
HttpHeaders |
EmptyHttpHeaders.addTimeMillis(CharSequence name,
long value) |
HttpHeaders |
HttpHeaders.clear() |
HttpHeaders |
DefaultHttpHeaders.clear() |
HttpHeaders |
EmptyHttpHeaders.clear() |
HttpHeaders |
DefaultHttpMessage.headers() |
HttpHeaders |
HttpMessage.headers()
Returns the headers of this message.
|
HttpHeaders |
HttpHeaders.set(CharSequence name,
CharSequence... values) |
HttpHeaders |
DefaultHttpHeaders.set(CharSequence name,
CharSequence... values) |
HttpHeaders |
EmptyHttpHeaders.set(CharSequence name,
CharSequence... values) |
HttpHeaders |
HttpHeaders.set(CharSequence name,
CharSequence value) |
HttpHeaders |
DefaultHttpHeaders.set(CharSequence name,
CharSequence value) |
HttpHeaders |
EmptyHttpHeaders.set(CharSequence name,
CharSequence value) |
HttpHeaders |
HttpHeaders.set(CharSequence name,
Iterable<? extends CharSequence> values) |
HttpHeaders |
DefaultHttpHeaders.set(CharSequence name,
Iterable<? extends CharSequence> values) |
HttpHeaders |
EmptyHttpHeaders.set(CharSequence name,
Iterable<? extends CharSequence> values) |
HttpHeaders |
HttpHeaders.set(TextHeaders headers) |
HttpHeaders |
DefaultHttpHeaders.set(TextHeaders headers) |
HttpHeaders |
EmptyHttpHeaders.set(TextHeaders headers) |
HttpHeaders |
HttpHeaders.setAll(TextHeaders headers) |
HttpHeaders |
DefaultHttpHeaders.setAll(TextHeaders headers) |
HttpHeaders |
EmptyHttpHeaders.setAll(TextHeaders headers) |
HttpHeaders |
HttpHeaders.setBoolean(CharSequence name,
boolean value) |
HttpHeaders |
DefaultHttpHeaders.setBoolean(CharSequence name,
boolean value) |
HttpHeaders |
EmptyHttpHeaders.setBoolean(CharSequence name,
boolean value) |
HttpHeaders |
HttpHeaders.setByte(CharSequence name,
byte value) |
HttpHeaders |
DefaultHttpHeaders.setByte(CharSequence name,
byte value) |
HttpHeaders |
EmptyHttpHeaders.setByte(CharSequence name,
byte value) |
HttpHeaders |
HttpHeaders.setChar(CharSequence name,
char value) |
HttpHeaders |
DefaultHttpHeaders.setChar(CharSequence name,
char value) |
HttpHeaders |
EmptyHttpHeaders.setChar(CharSequence name,
char value) |
HttpHeaders |
HttpHeaders.setDouble(CharSequence name,
double value) |
HttpHeaders |
DefaultHttpHeaders.setDouble(CharSequence name,
double value) |
HttpHeaders |
EmptyHttpHeaders.setDouble(CharSequence name,
double value) |
HttpHeaders |
HttpHeaders.setFloat(CharSequence name,
float value) |
HttpHeaders |
DefaultHttpHeaders.setFloat(CharSequence name,
float value) |
HttpHeaders |
EmptyHttpHeaders.setFloat(CharSequence name,
float value) |
HttpHeaders |
HttpHeaders.setInt(CharSequence name,
int value) |
HttpHeaders |
DefaultHttpHeaders.setInt(CharSequence name,
int value) |
HttpHeaders |
EmptyHttpHeaders.setInt(CharSequence name,
int value) |
HttpHeaders |
HttpHeaders.setLong(CharSequence name,
long value) |
HttpHeaders |
DefaultHttpHeaders.setLong(CharSequence name,
long value) |
HttpHeaders |
EmptyHttpHeaders.setLong(CharSequence name,
long value) |
HttpHeaders |
HttpHeaders.setObject(CharSequence name,
Iterable<?> values) |
HttpHeaders |
DefaultHttpHeaders.setObject(CharSequence name,
Iterable<?> values) |
HttpHeaders |
EmptyHttpHeaders.setObject(CharSequence name,
Iterable<?> values) |
HttpHeaders |
HttpHeaders.setObject(CharSequence name,
Object... values) |
HttpHeaders |
DefaultHttpHeaders.setObject(CharSequence name,
Object... values) |
HttpHeaders |
EmptyHttpHeaders.setObject(CharSequence name,
Object... values) |
HttpHeaders |
HttpHeaders.setObject(CharSequence name,
Object value) |
HttpHeaders |
DefaultHttpHeaders.setObject(CharSequence name,
Object value) |
HttpHeaders |
EmptyHttpHeaders.setObject(CharSequence name,
Object value) |
HttpHeaders |
HttpHeaders.setShort(CharSequence name,
short value) |
HttpHeaders |
DefaultHttpHeaders.setShort(CharSequence name,
short value) |
HttpHeaders |
EmptyHttpHeaders.setShort(CharSequence name,
short value) |
HttpHeaders |
HttpHeaders.setTimeMillis(CharSequence name,
long value) |
HttpHeaders |
DefaultHttpHeaders.setTimeMillis(CharSequence name,
long value) |
HttpHeaders |
EmptyHttpHeaders.setTimeMillis(CharSequence name,
long value) |
HttpHeaders |
DefaultFullHttpResponse.trailingHeaders() |
HttpHeaders |
DefaultLastHttpContent.trailingHeaders() |
HttpHeaders |
LastHttpContent.trailingHeaders() |
HttpHeaders |
DefaultFullHttpRequest.trailingHeaders() |
Modifier and Type | Method and Description |
---|---|
protected void |
HttpObjectEncoder.encodeHeaders(HttpHeaders headers,
ByteBuf buf)
Encode the
HttpHeaders into a ByteBuf . |
Modifier and Type | Method and Description |
---|---|
HttpHeaders |
CorsConfig.preflightResponseHeaders()
Returns HTTP response headers that should be added to a CORS preflight response.
|
Modifier and Type | Field and Description |
---|---|
protected HttpHeaders |
WebSocketClientHandshaker.customHeaders |
Modifier and Type | Method and Description |
---|---|
ChannelFuture |
WebSocketServerHandshaker.handshake(Channel channel,
FullHttpRequest req,
HttpHeaders responseHeaders,
ChannelPromise promise)
Performs the opening handshake
When call this method you MUST NOT retain the
FullHttpRequest which is passed in. |
ChannelFuture |
WebSocketServerHandshaker.handshake(Channel channel,
HttpRequest req,
HttpHeaders responseHeaders,
ChannelPromise promise)
Performs the opening handshake
When call this method you MUST NOT retain the
HttpRequest which is passed in. |
static WebSocketClientHandshaker |
WebSocketClientHandshakerFactory.newHandshaker(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
boolean allowExtensions,
HttpHeaders customHeaders)
Creates a new handshaker.
|
static WebSocketClientHandshaker |
WebSocketClientHandshakerFactory.newHandshaker(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
boolean allowExtensions,
HttpHeaders customHeaders,
int maxFramePayloadLength)
Creates a new handshaker.
|
static WebSocketClientHandshaker |
WebSocketClientHandshakerFactory.newHandshaker(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
boolean allowExtensions,
HttpHeaders customHeaders,
int maxFramePayloadLength,
boolean performMasking,
boolean allowMaskMismatch)
Creates a new handshaker.
|
protected FullHttpResponse |
WebSocketServerHandshaker07.newHandshakeResponse(FullHttpRequest req,
HttpHeaders headers)
Handle the web socket handshake for the web socket specification HyBi version 7.
|
protected abstract FullHttpResponse |
WebSocketServerHandshaker.newHandshakeResponse(FullHttpRequest req,
HttpHeaders responseHeaders)
Returns a new {@link FullHttpResponse) which will be used for as response to the handshake request.
|
protected FullHttpResponse |
WebSocketServerHandshaker13.newHandshakeResponse(FullHttpRequest req,
HttpHeaders headers)
Handle the web socket handshake for the web socket specification HyBi versions 13-17.
|
protected FullHttpResponse |
WebSocketServerHandshaker00.newHandshakeResponse(FullHttpRequest req,
HttpHeaders headers)
Handle the web socket handshake for the web socket specification HyBi version 0 and lower.
|
protected FullHttpResponse |
WebSocketServerHandshaker08.newHandshakeResponse(FullHttpRequest req,
HttpHeaders headers)
Handle the web socket handshake for the web socket specification HyBi version 8 to 10.
|
Constructor and Description |
---|
WebSocketClientHandshaker(URI uri,
WebSocketVersion version,
String subprotocol,
HttpHeaders customHeaders,
int maxFramePayloadLength)
Base constructor
|
WebSocketClientHandshaker00(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
HttpHeaders customHeaders,
int maxFramePayloadLength)
Constructor specifying the destination web socket location and version to initiate
|
WebSocketClientHandshaker07(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
boolean allowExtensions,
HttpHeaders customHeaders,
int maxFramePayloadLength)
Creates a new instance.
|
WebSocketClientHandshaker07(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
boolean allowExtensions,
HttpHeaders customHeaders,
int maxFramePayloadLength,
boolean performMasking,
boolean allowMaskMismatch)
Creates a new instance.
|
WebSocketClientHandshaker08(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
boolean allowExtensions,
HttpHeaders customHeaders,
int maxFramePayloadLength)
Creates a new instance.
|
WebSocketClientHandshaker08(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
boolean allowExtensions,
HttpHeaders customHeaders,
int maxFramePayloadLength,
boolean performMasking,
boolean allowMaskMismatch)
Creates a new instance.
|
WebSocketClientHandshaker13(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
boolean allowExtensions,
HttpHeaders customHeaders,
int maxFramePayloadLength)
Creates a new instance.
|
WebSocketClientHandshaker13(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
boolean allowExtensions,
HttpHeaders customHeaders,
int maxFramePayloadLength,
boolean performMasking,
boolean allowMaskMismatch)
Creates a new instance.
|
WebSocketClientProtocolHandler(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
boolean allowExtensions,
HttpHeaders customHeaders,
int maxFramePayloadLength)
Base constructor
|
WebSocketClientProtocolHandler(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
boolean allowExtensions,
HttpHeaders customHeaders,
int maxFramePayloadLength,
boolean handleCloseFrames)
Base constructor
|
WebSocketClientProtocolHandler(URI webSocketURL,
WebSocketVersion version,
String subprotocol,
boolean allowExtensions,
HttpHeaders customHeaders,
int maxFramePayloadLength,
boolean handleCloseFrames,
boolean performMasking,
boolean allowMaskMismatch)
Base constructor
|
Copyright © 2008–2015 The Netty Project. All rights reserved.