org.javaswift.joss.headers.object
Class DeleteAfter

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

public class DeleteAfter
extends Header


Field Summary
static String X_DELETE_AFTER
           
 
Constructor Summary
DeleteAfter(long expireAfterSeconds)
           
 
Method Summary
 long getExpireAfterSeconds()
           
 String getHeaderName()
          Returns the header name that must be set in the request.
 String getHeaderValue()
          Returns the value that must be set in the request.
 
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_DELETE_AFTER

public static String X_DELETE_AFTER
Constructor Detail

DeleteAfter

public DeleteAfter(long expireAfterSeconds)
Method Detail

getExpireAfterSeconds

public long getExpireAfterSeconds()

getHeaderValue

public String getHeaderValue()
Description copied from class: Header
Returns the value that must be set in the request. Eg, "bytes: 4-12"

Specified by:
getHeaderValue in class Header
Returns:
the value for the request header

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.