org.javaswift.joss.headers
Class Token

java.lang.Object
  extended by org.javaswift.joss.headers.Header
      extended by org.javaswift.joss.headers.SimpleHeader
          extended by org.javaswift.joss.headers.Token

public class Token
extends SimpleHeader

The security token supplied by the OpenStack Identity component (Keystone). This token is added as a header to all secure command calls.


Field Summary
static String X_AUTH_TOKEN
           
 
Constructor Summary
Token(String token)
           
 
Method Summary
 String getHeaderName()
          Returns the header name that must be set in the request.
 
Methods inherited from class org.javaswift.joss.headers.SimpleHeader
getHeaderValue
 
Methods inherited from class org.javaswift.joss.headers.Header
convertResponseHeader, getResponseHeadersStartingWith, headerNotEmpty, setHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

X_AUTH_TOKEN

public static String X_AUTH_TOKEN
Constructor Detail

Token

public Token(String token)
Method Detail

getHeaderName

public String getHeaderName()
Description copied from class: Header
Returns the header name that must be set in the request. Eg, "Range"

Specified by:
getHeaderName in class Header
Returns:
the name for the request header


Copyright © 2012-2014 42 BV. All Rights Reserved.