play.libs
Class OAuth.WSRequestAdapter

java.lang.Object
  extended by play.libs.OAuth.WSRequestAdapter
All Implemented Interfaces:
oauth.signpost.http.HttpRequest
Enclosing class:
OAuth

public static class OAuth.WSRequestAdapter
extends java.lang.Object
implements oauth.signpost.http.HttpRequest


Constructor Summary
OAuth.WSRequestAdapter(WS.WSRequest request)
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.String> getAllHeaders()
           
 java.lang.String getContentType()
           
 java.lang.String getHeader(java.lang.String name)
           
 java.io.InputStream getMessagePayload()
           
 java.lang.String getMethod()
           
 java.lang.String getRequestUrl()
           
 void setHeader(java.lang.String name, java.lang.String value)
           
 void setRequestUrl(java.lang.String url)
           
 java.lang.Object unwrap()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OAuth.WSRequestAdapter

public OAuth.WSRequestAdapter(WS.WSRequest request)
Method Detail

unwrap

public java.lang.Object unwrap()
Specified by:
unwrap in interface oauth.signpost.http.HttpRequest

getAllHeaders

public java.util.Map<java.lang.String,java.lang.String> getAllHeaders()
Specified by:
getAllHeaders in interface oauth.signpost.http.HttpRequest

getHeader

public java.lang.String getHeader(java.lang.String name)
Specified by:
getHeader in interface oauth.signpost.http.HttpRequest

getContentType

public java.lang.String getContentType()
Specified by:
getContentType in interface oauth.signpost.http.HttpRequest

getMessagePayload

public java.io.InputStream getMessagePayload()
Specified by:
getMessagePayload in interface oauth.signpost.http.HttpRequest

getMethod

public java.lang.String getMethod()
Specified by:
getMethod in interface oauth.signpost.http.HttpRequest

setHeader

public void setHeader(java.lang.String name,
                      java.lang.String value)
Specified by:
setHeader in interface oauth.signpost.http.HttpRequest

getRequestUrl

public java.lang.String getRequestUrl()
Specified by:
getRequestUrl in interface oauth.signpost.http.HttpRequest

setRequestUrl

public void setRequestUrl(java.lang.String url)
Specified by:
setRequestUrl in interface oauth.signpost.http.HttpRequest