Uses of Interface
org.jboss.netty.handler.codec.http.HttpMessage
Packages that use HttpMessage
Package
Description
Encoder, decoder and their related message types for HTTP.
An RTSP
extension based on the HTTP codec.
Encoder, decoder, session handler and their related message types for the SPDY protocol.
-
Uses of HttpMessage in org.jboss.netty.handler.codec.http
Subinterfaces of HttpMessage in org.jboss.netty.handler.codec.httpModifier and TypeInterfaceDescriptioninterface
An HTTP request.interface
An HTTP response.Classes in org.jboss.netty.handler.codec.http that implement HttpMessageModifier and TypeClassDescriptionclass
The defaultHttpMessage
implementation.class
The defaultHttpRequest
implementation.class
The defaultHttpResponse
implementation.Fields in org.jboss.netty.handler.codec.http declared as HttpMessageModifier and TypeFieldDescriptionprivate HttpMessage
HttpChunkAggregator.currentMessage
private HttpMessage
HttpMessageDecoder.message
Methods in org.jboss.netty.handler.codec.http that return HttpMessageModifier and TypeMethodDescriptionprotected abstract HttpMessage
HttpMessageDecoder.createMessage
(String[] initialLine) protected HttpMessage
HttpRequestDecoder.createMessage
(String[] initialLine) protected HttpMessage
HttpResponseDecoder.createMessage
(String[] initialLine) Methods in org.jboss.netty.handler.codec.http with parameters of type HttpMessageModifier and TypeMethodDescriptionstatic void
HttpHeaders.addDateHeader
(HttpMessage message, String name, Date value) Adds a new date header with the specified name and value.static void
HttpHeaders.addHeader
(HttpMessage message, String name, Object value) Adds a new header with the specified name and value.static void
HttpHeaders.addIntHeader
(HttpMessage message, String name, int value) Adds a new integer header with the specified name and value.static void
HttpHeaders.clearHeaders
(HttpMessage message) Removes all headers from the specified message.private static void
HttpMessageEncoder.encodeHeaders
(ChannelBuffer buf, HttpMessage message) protected abstract void
HttpMessageEncoder.encodeInitialLine
(ChannelBuffer buf, HttpMessage message) protected void
HttpRequestEncoder.encodeInitialLine
(ChannelBuffer buf, HttpMessage message) protected void
HttpResponseEncoder.encodeInitialLine
(ChannelBuffer buf, HttpMessage message) static long
HttpHeaders.getContentLength
(HttpMessage message) Returns the length of the content.static long
HttpHeaders.getContentLength
(HttpMessage message, long defaultValue) Returns the length of the content.static Date
HttpHeaders.getDate
(HttpMessage message) Returns the value of the"Date"
header.static Date
HttpHeaders.getDate
(HttpMessage message, Date defaultValue) Returns the value of the"Date"
header.static Date
HttpHeaders.getDateHeader
(HttpMessage message, String name) Returns the date header value with the specified header name.static Date
HttpHeaders.getDateHeader
(HttpMessage message, String name, Date defaultValue) Returns the date header value with the specified header name.static String
HttpHeaders.getHeader
(HttpMessage message, String name) Returns the header value with the specified header name.static String
HttpHeaders.getHeader
(HttpMessage message, String name, String defaultValue) Returns the header value with the specified header name.static String
HttpHeaders.getHost
(HttpMessage message) Returns the value of the"Host"
header.static String
HttpHeaders.getHost
(HttpMessage message, String defaultValue) Returns the value of the"Host"
header.static int
HttpHeaders.getIntHeader
(HttpMessage message, String name) Returns the integer header value with the specified header name.static int
HttpHeaders.getIntHeader
(HttpMessage message, String name, int defaultValue) Returns the integer header value with the specified header name.private static int
HttpHeaders.getWebSocketContentLength
(HttpMessage message) Returns the content length of the specified web socket message.static boolean
HttpHeaders.is100ContinueExpected
(HttpMessage message) Returnstrue
if and only if the specified message contains the"Expect: 100-continue"
header.protected boolean
HttpClientCodec.Decoder.isContentAlwaysEmpty
(HttpMessage msg) protected boolean
HttpMessageDecoder.isContentAlwaysEmpty
(HttpMessage msg) (package private) static boolean
HttpCodecUtil.isContentLengthSet
(HttpMessage m) static boolean
HttpHeaders.isContentLengthSet
(HttpMessage m) static boolean
HttpHeaders.isKeepAlive
(HttpMessage message) Returnstrue
if and only if the connection can remain open and thus 'kept alive'.(package private) static boolean
HttpCodecUtil.isTransferEncodingChunked
(HttpMessage m) static boolean
HttpHeaders.isTransferEncodingChunked
(HttpMessage message) Checks to see if the transfer encoding in a specifiedHttpMessage
is chunkedprotected EncoderEmbedder
<ChannelBuffer> HttpContentCompressor.newContentEncoder
(HttpMessage msg, String acceptEncoding) protected abstract EncoderEmbedder
<ChannelBuffer> HttpContentEncoder.newContentEncoder
(HttpMessage msg, String acceptEncoding) Returns a newEncoderEmbedder
that encodes the HTTP message content.static void
HttpHeaders.removeHeader
(HttpMessage message, String name) Removes the header with the specified name.(package private) static void
HttpCodecUtil.removeTransferEncodingChunked
(HttpMessage m) static void
HttpHeaders.removeTransferEncodingChunked
(HttpMessage m) static void
HttpHeaders.set100ContinueExpected
(HttpMessage message) Sets the"Expect: 100-continue"
header to the specified message.static void
HttpHeaders.set100ContinueExpected
(HttpMessage message, boolean set) Sets or removes the"Expect: 100-continue"
header to / from the specified message.static void
HttpHeaders.setContentLength
(HttpMessage message, long length) Sets the"Content-Length"
header.static void
HttpHeaders.setDate
(HttpMessage message, Date value) Sets the"Date"
header.static void
HttpHeaders.setDateHeader
(HttpMessage message, String name, Iterable<Date> values) Sets a new date header with the specified name and values.static void
HttpHeaders.setDateHeader
(HttpMessage message, String name, Date value) Sets a new date header with the specified name and value.static void
HttpHeaders.setHeader
(HttpMessage message, String name, Iterable<?> values) Sets a new header with the specified name and values.static void
HttpHeaders.setHeader
(HttpMessage message, String name, Object value) Sets a new header with the specified name and value.static void
HttpHeaders.setHost
(HttpMessage message, String value) Sets the"Host"
header.static void
HttpHeaders.setIntHeader
(HttpMessage message, String name, int value) Sets a new integer header with the specified name and value.static void
HttpHeaders.setIntHeader
(HttpMessage message, String name, Iterable<Integer> values) Sets a new integer header with the specified name and values.static void
HttpHeaders.setKeepAlive
(HttpMessage message, boolean keepAlive) Sets the value of the"Connection"
header depending on the protocol version of the specified message.static void
HttpHeaders.setTransferEncodingChunked
(HttpMessage m) -
Uses of HttpMessage in org.jboss.netty.handler.codec.rtsp
Fields in org.jboss.netty.handler.codec.rtsp with type parameters of type HttpMessageModifier and TypeFieldDescriptionprivate final DecoderEmbedder
<HttpMessage> RtspMessageDecoder.aggregator
Methods in org.jboss.netty.handler.codec.rtsp that return HttpMessageModifier and TypeMethodDescriptionprotected HttpMessage
RtspRequestDecoder.createMessage
(String[] initialLine) protected HttpMessage
RtspResponseDecoder.createMessage
(String[] initialLine) Methods in org.jboss.netty.handler.codec.rtsp with parameters of type HttpMessageModifier and TypeMethodDescriptionprotected void
RtspRequestEncoder.encodeInitialLine
(ChannelBuffer buf, HttpMessage message) protected void
RtspResponseEncoder.encodeInitialLine
(ChannelBuffer buf, HttpMessage message) protected boolean
RtspMessageDecoder.isContentAlwaysEmpty
(HttpMessage msg) -
Uses of HttpMessage in org.jboss.netty.handler.codec.spdy
Fields in org.jboss.netty.handler.codec.spdy with type parameters of type HttpMessageModifier and TypeFieldDescriptionprivate final Map
<Integer, HttpMessage> SpdyHttpDecoder.messageMap
Methods in org.jboss.netty.handler.codec.spdy that return HttpMessageModifier and TypeMethodDescriptionprotected HttpMessage
SpdyHttpDecoder.getMessage
(int streamId) protected HttpMessage
SpdyHttpDecoder.putMessage
(int streamId, HttpMessage message) protected HttpMessage
SpdyHttpDecoder.removeMessage
(int streamId) Methods in org.jboss.netty.handler.codec.spdy with parameters of type HttpMessageModifier and TypeMethodDescriptionprivate SpdySynStreamFrame
SpdyHttpEncoder.createSynStreamFrame
(HttpMessage httpMessage) static int
SpdyHttpHeaders.getAssociatedToStreamId
(HttpMessage message) Returns the value of the"X-SPDY-Associated-To-Stream-ID"
header.private ChannelFuture
SpdyHttpEncoder.getMessageFuture
(ChannelHandlerContext ctx, MessageEvent e, int streamId, HttpMessage httpMessage) static byte
SpdyHttpHeaders.getPriority
(HttpMessage message) Returns the value of the"X-SPDY-Priority"
header.static String
SpdyHttpHeaders.getScheme
(HttpMessage message) Returns the value of the"X-SPDY-Scheme"
header.static int
SpdyHttpHeaders.getStreamId
(HttpMessage message) Returns the value of the"X-SPDY-Stream-ID"
header.static String
SpdyHttpHeaders.getUrl
(HttpMessage message) Returns the value of the"X-SPDY-URL"
header.protected HttpMessage
SpdyHttpDecoder.putMessage
(int streamId, HttpMessage message) static void
SpdyHttpHeaders.removeAssociatedToStreamId
(HttpMessage message) Removes the"X-SPDY-Associated-To-Stream-ID"
header.static void
SpdyHttpHeaders.removePriority
(HttpMessage message) Removes the"X-SPDY-Priority"
header.static void
SpdyHttpHeaders.removeScheme
(HttpMessage message) Removes the"X-SPDY-Scheme"
header.static void
SpdyHttpHeaders.removeStreamId
(HttpMessage message) Removes the"X-SPDY-Stream-ID"
header.static void
SpdyHttpHeaders.removeUrl
(HttpMessage message) Removes the"X-SPDY-URL"
header.static void
SpdyHttpHeaders.setAssociatedToStreamId
(HttpMessage message, int associatedToStreamId) Sets the"X-SPDY-Associated-To-Stream-ID"
header.static void
SpdyHttpHeaders.setPriority
(HttpMessage message, byte priority) Sets the"X-SPDY-Priority"
header.static void
SpdyHttpHeaders.setScheme
(HttpMessage message, String scheme) Sets the"X-SPDY-Scheme"
header.static void
SpdyHttpHeaders.setStreamId
(HttpMessage message, int streamId) Sets the"X-SPDY-Stream-ID"
header.static void
SpdyHttpHeaders.setUrl
(HttpMessage message, String url) Sets the"X-SPDY-URL"
header.Constructor parameters in org.jboss.netty.handler.codec.spdy with type arguments of type HttpMessageModifierConstructorDescriptionprotected
SpdyHttpDecoder
(SpdyVersion spdyVersion, int maxContentLength, Map<Integer, HttpMessage> messageMap) Creates a new instance with the specified parameters.