|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.http.client.AbstractClientHttpRequest org.springframework.social.oauth.OAuthSigningClientHttpRequest
public class OAuthSigningClientHttpRequest
Implementation of ClientHttpRequest
that wraps another
ClientHttpRequest
and signs it with an OAuth
Authorization
header before it is sent.
Constructor Summary | |
---|---|
OAuthSigningClientHttpRequest(ClientHttpRequest delegate,
OAuthClientRequestSigner signer)
Creates an OAuthSigningClientHttpRequest . |
Method Summary | |
---|---|
protected ClientHttpResponse |
executeInternal(HttpHeaders headers,
byte[] bufferedOutput)
|
HttpMethod |
getMethod()
|
java.net.URI |
getURI()
|
Methods inherited from class org.springframework.http.client.AbstractClientHttpRequest |
---|
execute, getBody, getHeaders |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public OAuthSigningClientHttpRequest(ClientHttpRequest delegate, OAuthClientRequestSigner signer)
OAuthSigningClientHttpRequest
.
delegate
- The wrapped ClientHttpRequest
that is to be signedsigner
- An OAuth signerMethod Detail |
---|
protected ClientHttpResponse executeInternal(HttpHeaders headers, byte[] bufferedOutput) throws java.io.IOException
executeInternal
in class AbstractClientHttpRequest
java.io.IOException
public java.net.URI getURI()
public HttpMethod getMethod()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |