Spring Social

org.springframework.social.support
Class HttpRequestDecorator

java.lang.Object
  extended by org.springframework.http.client.support.HttpRequestWrapper
      extended by org.springframework.social.support.HttpRequestDecorator
All Implemented Interfaces:
org.springframework.http.HttpMessage, org.springframework.http.HttpRequest

public class HttpRequestDecorator
extends org.springframework.http.client.support.HttpRequestWrapper

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

Author:
Keith Donald

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

Constructor Detail

HttpRequestDecorator

public HttpRequestDecorator(org.springframework.http.HttpRequest request)
Method Detail

getHeaders

public org.springframework.http.HttpHeaders getHeaders()
Specified by:
getHeaders in interface org.springframework.http.HttpMessage
Overrides:
getHeaders in class org.springframework.http.client.support.HttpRequestWrapper

Spring Social