org.javaswift.joss.headers.object
Class ObjectContentLength

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

public class ObjectContentLength
extends SimpleHeader


Field Summary
static String CONTENT_LENGTH
           
 
Constructor Summary
ObjectContentLength(String value)
           
 
Method Summary
static ObjectContentLength 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.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

CONTENT_LENGTH

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

ObjectContentLength

public ObjectContentLength(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 ObjectContentLength fromResponse(org.apache.http.HttpResponse response)


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