Uses of Interface
org.jboss.netty.handler.codec.http2.HttpMessage

Packages that use HttpMessage
org.jboss.netty.handler.codec.http2 Encoder, decoder and their related message types for HTTP. 
 

Uses of HttpMessage in org.jboss.netty.handler.codec.http2
 

Subinterfaces of HttpMessage in org.jboss.netty.handler.codec.http2
 interface HttpRequest
          An HTTP request.
 interface HttpResponse
          An HTTP response.
 

Classes in org.jboss.netty.handler.codec.http2 that implement HttpMessage
 class DefaultHttpMessage
          The default HttpMessage implementation.
 class DefaultHttpRequest
          The default HttpRequest implementation.
 class DefaultHttpResponse
          The default HttpResponse implementation.
 

Methods in org.jboss.netty.handler.codec.http2 that return HttpMessage
protected  HttpMessage HttpResponseDecoder.createMessage(String[] initialLine)
           
protected  HttpMessage HttpRequestDecoder.createMessage(String[] initialLine)
           
protected abstract  HttpMessage HttpMessageDecoder.createMessage(String[] initialLine)
           
 

Methods in org.jboss.netty.handler.codec.http2 with parameters of type HttpMessage
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.
protected  void HttpResponseEncoder.encodeInitialLine(org.jboss.netty.buffer.ChannelBuffer buf, HttpMessage message)
           
protected  void HttpRequestEncoder.encodeInitialLine(org.jboss.netty.buffer.ChannelBuffer buf, HttpMessage message)
           
protected abstract  void HttpMessageEncoder.encodeInitialLine(org.jboss.netty.buffer.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 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.
static boolean HttpHeaders.is100ContinueExpected(HttpMessage message)
          Returns true if and only if the specified message contains the "Expect: 100-continue" header.
protected  boolean HttpMessageDecoder.isContentAlwaysEmpty(HttpMessage msg)
           
static boolean HttpHeaders.isKeepAlive(HttpMessage message)
          Returns true if and only if the connection can remain open and thus 'kept alive'.
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.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.
 



Copyright © 2009-2012 Frederic Bregier. All Rights Reserved.