com.gliffy.api.client.model
Class OAuthHeader

java.lang.Object
  extended by com.gliffy.api.client.model.OAuthHeader

public class OAuthHeader
extends java.lang.Object

Encapsulates the parameters of the OAuth Authorization header.


Field Summary
static java.lang.String AUTH_SCHEME
           
static java.lang.String AUTHORIZATION_HEADER_NAME
           
static java.lang.String ENCODING
           
 
Constructor Summary
OAuthHeader(org.apache.http.HttpRequest request)
           
 
Method Summary
 java.lang.String getAsQueryString()
          Returns the paramters in the OAuth Authorization header as a query string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AUTHORIZATION_HEADER_NAME

public static final java.lang.String AUTHORIZATION_HEADER_NAME
See Also:
Constant Field Values

AUTH_SCHEME

public static final java.lang.String AUTH_SCHEME
See Also:
Constant Field Values

ENCODING

public static final java.lang.String ENCODING
See Also:
Constant Field Values
Constructor Detail

OAuthHeader

public OAuthHeader(org.apache.http.HttpRequest request)
Method Detail

getAsQueryString

public java.lang.String getAsQueryString()
Returns the paramters in the OAuth Authorization header as a query string.

Returns:
the paramters in the OAuth Authorization header as a query string.