Class HttpRequestDecorator

  extended by
      extended by
All Implemented Interfaces:
HttpMessage, HttpRequest

public class HttpRequestDecorator
extends HttpRequestWrapper

Extension of HttpRequestWrapper that supports adding new HttpHeaders to the wrapped HttpRequest.

Constructor Summary
HttpRequestDecorator(HttpRequest request)
Method Summary
 HttpHeaders getHeaders()
Methods inherited from class
getMethod, getRequest, getURI
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public HttpRequestDecorator(HttpRequest request)
Method Detail


public HttpHeaders getHeaders()
Specified by:
getHeaders in interface HttpMessage
getHeaders in class HttpRequestWrapper