org.javaswift.joss.headers.container
Class ContainerMetadata

java.lang.Object
  extended by org.javaswift.joss.headers.Header
      extended by org.javaswift.joss.headers.SimpleHeader
          extended by org.javaswift.joss.headers.Metadata
              extended by org.javaswift.joss.headers.container.ContainerMetadata
Direct Known Subclasses:
WebsiteHeader

public class ContainerMetadata
extends Metadata


Field Summary
static String X_CONTAINER_META_PREFIX
           
 
Constructor Summary
ContainerMetadata(String name, String value)
           
 
Method Summary
static Map<String,Metadata> fromResponse(org.apache.http.HttpResponse response)
           
 String getHeaderName()
          Returns the header name that must be set in the request.
 
Methods inherited from class org.javaswift.joss.headers.Metadata
capitalize, getName
 
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_CONTAINER_META_PREFIX

public static final String X_CONTAINER_META_PREFIX
See Also:
Constant Field Values
Constructor Detail

ContainerMetadata

public ContainerMetadata(String name,
                         String value)
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

fromResponse

public static Map<String,Metadata> fromResponse(org.apache.http.HttpResponse response)


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