Class Token

  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
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


public static String X_AUTH_TOKEN
Constructor Detail


public Token(String token)
Method Detail


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
the name for the request header

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