org.javaswift.joss.headers.object
Class ObjectMetadata

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.object.ObjectMetadata

public class ObjectMetadata
extends Metadata


Field Summary
static String X_OBJECT_META_PREFIX
           
 
Constructor Summary
ObjectMetadata(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_OBJECT_META_PREFIX

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

ObjectMetadata

public ObjectMetadata(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.