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 TypeInterfaceDescriptioninterfaceAn HTTP request.interfaceAn HTTP response.Classes in org.jboss.netty.handler.codec.http that implement HttpMessageModifier and TypeClassDescriptionclassThe defaultHttpMessageimplementation.classThe defaultHttpRequestimplementation.classThe defaultHttpResponseimplementation.Fields in org.jboss.netty.handler.codec.http declared as HttpMessageModifier and TypeFieldDescriptionprivate HttpMessageHttpChunkAggregator.currentMessageprivate HttpMessageHttpMessageDecoder.messageMethods in org.jboss.netty.handler.codec.http that return HttpMessageModifier and TypeMethodDescriptionprotected abstract HttpMessageHttpMessageDecoder.createMessage(String[] initialLine) protected HttpMessageHttpRequestDecoder.createMessage(String[] initialLine) protected HttpMessageHttpResponseDecoder.createMessage(String[] initialLine) Methods in org.jboss.netty.handler.codec.http with parameters of type HttpMessageModifier and TypeMethodDescriptionstatic voidHttpHeaders.addDateHeader(HttpMessage message, String name, Date value) Adds a new date header with the specified name and value.static voidHttpHeaders.addHeader(HttpMessage message, String name, Object value) Adds a new header with the specified name and value.static voidHttpHeaders.addIntHeader(HttpMessage message, String name, int value) Adds a new integer header with the specified name and value.static voidHttpHeaders.clearHeaders(HttpMessage message) Removes all headers from the specified message.private static voidHttpMessageEncoder.encodeHeaders(ChannelBuffer buf, HttpMessage message) protected abstract voidHttpMessageEncoder.encodeInitialLine(ChannelBuffer buf, HttpMessage message) protected voidHttpRequestEncoder.encodeInitialLine(ChannelBuffer buf, HttpMessage message) protected voidHttpResponseEncoder.encodeInitialLine(ChannelBuffer buf, HttpMessage message) static longHttpHeaders.getContentLength(HttpMessage message) Returns the length of the content.static longHttpHeaders.getContentLength(HttpMessage message, long defaultValue) Returns the length of the content.static DateHttpHeaders.getDate(HttpMessage message) Returns the value of the"Date"header.static DateHttpHeaders.getDate(HttpMessage message, Date defaultValue) Returns the value of the"Date"header.static DateHttpHeaders.getDateHeader(HttpMessage message, String name) Returns the date header value with the specified header name.static DateHttpHeaders.getDateHeader(HttpMessage message, String name, Date defaultValue) Returns the date header value with the specified header name.static StringHttpHeaders.getHeader(HttpMessage message, String name) Returns the header value with the specified header name.static StringHttpHeaders.getHeader(HttpMessage message, String name, String defaultValue) Returns the header value with the specified header name.static StringHttpHeaders.getHost(HttpMessage message) Returns the value of the"Host"header.static StringHttpHeaders.getHost(HttpMessage message, String defaultValue) Returns the value of the"Host"header.static intHttpHeaders.getIntHeader(HttpMessage message, String name) Returns the integer header value with the specified header name.static intHttpHeaders.getIntHeader(HttpMessage message, String name, int defaultValue) Returns the integer header value with the specified header name.private static intHttpHeaders.getWebSocketContentLength(HttpMessage message) Returns the content length of the specified web socket message.static booleanHttpHeaders.is100ContinueExpected(HttpMessage message) Returnstrueif and only if the specified message contains the"Expect: 100-continue"header.protected booleanHttpClientCodec.Decoder.isContentAlwaysEmpty(HttpMessage msg) protected booleanHttpMessageDecoder.isContentAlwaysEmpty(HttpMessage msg) (package private) static booleanHttpCodecUtil.isContentLengthSet(HttpMessage m) static booleanHttpHeaders.isContentLengthSet(HttpMessage m) static booleanHttpHeaders.isKeepAlive(HttpMessage message) Returnstrueif and only if the connection can remain open and thus 'kept alive'.(package private) static booleanHttpCodecUtil.isTransferEncodingChunked(HttpMessage m) static booleanHttpHeaders.isTransferEncodingChunked(HttpMessage message) Checks to see if the transfer encoding in a specifiedHttpMessageis chunkedprotected EncoderEmbedder<ChannelBuffer> HttpContentCompressor.newContentEncoder(HttpMessage msg, String acceptEncoding) protected abstract EncoderEmbedder<ChannelBuffer> HttpContentEncoder.newContentEncoder(HttpMessage msg, String acceptEncoding) Returns a newEncoderEmbedderthat encodes the HTTP message content.static voidHttpHeaders.removeHeader(HttpMessage message, String name) Removes the header with the specified name.(package private) static voidHttpCodecUtil.removeTransferEncodingChunked(HttpMessage m) static voidHttpHeaders.removeTransferEncodingChunked(HttpMessage m) static voidHttpHeaders.set100ContinueExpected(HttpMessage message) Sets the"Expect: 100-continue"header to the specified message.static voidHttpHeaders.set100ContinueExpected(HttpMessage message, boolean set) Sets or removes the"Expect: 100-continue"header to / from the specified message.static voidHttpHeaders.setContentLength(HttpMessage message, long length) Sets the"Content-Length"header.static voidHttpHeaders.setDate(HttpMessage message, Date value) Sets the"Date"header.static voidHttpHeaders.setDateHeader(HttpMessage message, String name, Iterable<Date> values) Sets a new date header with the specified name and values.static voidHttpHeaders.setDateHeader(HttpMessage message, String name, Date value) Sets a new date header with the specified name and value.static voidHttpHeaders.setHeader(HttpMessage message, String name, Iterable<?> values) Sets a new header with the specified name and values.static voidHttpHeaders.setHeader(HttpMessage message, String name, Object value) Sets a new header with the specified name and value.static voidHttpHeaders.setHost(HttpMessage message, String value) Sets the"Host"header.static voidHttpHeaders.setIntHeader(HttpMessage message, String name, int value) Sets a new integer header with the specified name and value.static voidHttpHeaders.setIntHeader(HttpMessage message, String name, Iterable<Integer> values) Sets a new integer header with the specified name and values.static voidHttpHeaders.setKeepAlive(HttpMessage message, boolean keepAlive) Sets the value of the"Connection"header depending on the protocol version of the specified message.static voidHttpHeaders.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.aggregatorMethods in org.jboss.netty.handler.codec.rtsp that return HttpMessageModifier and TypeMethodDescriptionprotected HttpMessageRtspRequestDecoder.createMessage(String[] initialLine) protected HttpMessageRtspResponseDecoder.createMessage(String[] initialLine) Methods in org.jboss.netty.handler.codec.rtsp with parameters of type HttpMessageModifier and TypeMethodDescriptionprotected voidRtspRequestEncoder.encodeInitialLine(ChannelBuffer buf, HttpMessage message) protected voidRtspResponseEncoder.encodeInitialLine(ChannelBuffer buf, HttpMessage message) protected booleanRtspMessageDecoder.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.messageMapMethods in org.jboss.netty.handler.codec.spdy that return HttpMessageModifier and TypeMethodDescriptionprotected HttpMessageSpdyHttpDecoder.getMessage(int streamId) protected HttpMessageSpdyHttpDecoder.putMessage(int streamId, HttpMessage message) protected HttpMessageSpdyHttpDecoder.removeMessage(int streamId) Methods in org.jboss.netty.handler.codec.spdy with parameters of type HttpMessageModifier and TypeMethodDescriptionprivate SpdySynStreamFrameSpdyHttpEncoder.createSynStreamFrame(HttpMessage httpMessage) static intSpdyHttpHeaders.getAssociatedToStreamId(HttpMessage message) Returns the value of the"X-SPDY-Associated-To-Stream-ID"header.private ChannelFutureSpdyHttpEncoder.getMessageFuture(ChannelHandlerContext ctx, MessageEvent e, int streamId, HttpMessage httpMessage) static byteSpdyHttpHeaders.getPriority(HttpMessage message) Returns the value of the"X-SPDY-Priority"header.static StringSpdyHttpHeaders.getScheme(HttpMessage message) Returns the value of the"X-SPDY-Scheme"header.static intSpdyHttpHeaders.getStreamId(HttpMessage message) Returns the value of the"X-SPDY-Stream-ID"header.static StringSpdyHttpHeaders.getUrl(HttpMessage message) Returns the value of the"X-SPDY-URL"header.protected HttpMessageSpdyHttpDecoder.putMessage(int streamId, HttpMessage message) static voidSpdyHttpHeaders.removeAssociatedToStreamId(HttpMessage message) Removes the"X-SPDY-Associated-To-Stream-ID"header.static voidSpdyHttpHeaders.removePriority(HttpMessage message) Removes the"X-SPDY-Priority"header.static voidSpdyHttpHeaders.removeScheme(HttpMessage message) Removes the"X-SPDY-Scheme"header.static voidSpdyHttpHeaders.removeStreamId(HttpMessage message) Removes the"X-SPDY-Stream-ID"header.static voidSpdyHttpHeaders.removeUrl(HttpMessage message) Removes the"X-SPDY-URL"header.static voidSpdyHttpHeaders.setAssociatedToStreamId(HttpMessage message, int associatedToStreamId) Sets the"X-SPDY-Associated-To-Stream-ID"header.static voidSpdyHttpHeaders.setPriority(HttpMessage message, byte priority) Sets the"X-SPDY-Priority"header.static voidSpdyHttpHeaders.setScheme(HttpMessage message, String scheme) Sets the"X-SPDY-Scheme"header.static voidSpdyHttpHeaders.setStreamId(HttpMessage message, int streamId) Sets the"X-SPDY-Stream-ID"header.static voidSpdyHttpHeaders.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 HttpMessageModifierConstructorDescriptionprotectedSpdyHttpDecoder(SpdyVersion spdyVersion, int maxContentLength, Map<Integer, HttpMessage> messageMap) Creates a new instance with the specified parameters.