org.javaswift.joss.instructions
Class DownloadInstructions

java.lang.Object
  extended by org.javaswift.joss.instructions.DownloadInstructions

public class DownloadInstructions
extends Object

Specific instructions for downloading content, these could be:


Constructor Summary
DownloadInstructions()
           
 
Method Summary
 AbstractIfMatch getMatchConditional()
           
 AbstractRange getRange()
           
 AbstractIfSince getSinceConditional()
           
 DownloadInstructions setMatchConditional(AbstractIfMatch ifMatch)
          Return the content under a specific condition, which can be either: If-Match; if the etag matches the supplied value, return the content.
 DownloadInstructions setRange(AbstractRange range)
          Return the part of the content designated by the AbstractRange class.
 DownloadInstructions setSinceConditional(AbstractIfSince ifSince)
          Return the content under a specific condition, which can be either: If-Unmodified-Since; if the content has been unmodified since the date, return the content.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DownloadInstructions

public DownloadInstructions()
Method Detail

setRange

public DownloadInstructions setRange(AbstractRange range)
Return the part of the content designated by the AbstractRange class.

Parameters:
range - the range of the content to download
Returns:
the download instructions, ready for more settings

getRange

public AbstractRange getRange()

setMatchConditional

public DownloadInstructions setMatchConditional(AbstractIfMatch ifMatch)
Return the content under a specific condition, which can be either:

Parameters:
ifMatch - value to match against the etag value
Returns:
the download instructions, ready for more settings

getMatchConditional

public AbstractIfMatch getMatchConditional()

setSinceConditional

public DownloadInstructions setSinceConditional(AbstractIfSince ifSince)
Return the content under a specific condition, which can be either:

Parameters:
ifSince - date to match the last modification date
Returns:
the download instructions, ready for more settings

getSinceConditional

public AbstractIfSince getSinceConditional()


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