Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.netty.handler.codec.http
Interface HttpRequest

All Superinterfaces:
  HttpMessage

All Known Implementing Classes:
  DefaultHttpRequest

    public interface HttpRequest

extends HttpMessage

An HTTP request.

### Accessing Query Parameters and Cookie

Unlike the Servlet API, a query string is constructed and decomposed by `QueryStringEncoder` and `QueryStringDecoder`. `Cookie` support is also provided separately via `CookieEncoder` and `CookieDecoder`.

Version:
  $Rev: 2080 $, $Date: 2010-01-26 18:04:19 +0900 (Tue, 26 Jan 2010) $
Author:
  The Netty Project, Andy Taylor (andy.taylor@jboss.org)
See Also:
  `HttpResponse`, `CookieEncoder`, `CookieDecoder`

Method Summary
`HttpMethod` | `getMethod()` Returns the method of this request.
`String` | `getUri()` Returns the URI (or path) of this request.
`void` | `setMethod(HttpMethod method)` Sets the method of this request.
`void` | `setUri(String uri)` Sets the URI (or path) of this request.

Methods inherited from interface org.jboss.netty.handler.codec.http.HttpMessage
`addHeader, clearHeaders, containsHeader, getContent, getContentLength, getContentLength, getHeader, getHeaderNames, getHeaders, getHeaders, getProtocolVersion, isChunked, isKeepAlive, removeHeader, setChunked, setContent, setHeader, setHeader, setProtocolVersion`

Method Detail

### getMethod

    HttpMethod getMethod()

  Returns the method of this request.

### setMethod

    void setMethod(HttpMethod method)

  Sets the method of this request.

### getUri

    String getUri()

  Returns the URI (or path) of this request.

### setUri

    void setUri(String uri)

  Sets the URI (or path) of this request.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008-2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.