us.monoid.web
Class Deletion

java.lang.Object
  extended by us.monoid.web.AbstractContent
      extended by us.monoid.web.Deletion

public class Deletion
extends AbstractContent

Used for deleting contents on a server with the DELETE method. Use Resty.delete() to create an instance of this. Not strictly a content, but an instruction to delete a URL.

Author:
beders

Field Summary
 
Fields inherited from class us.monoid.web.AbstractContent
CRLF
 
Constructor Summary
Deletion()
           
 
Method Summary
 void writeContent(OutputStream os)
           
 void writeHeader(OutputStream os)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Deletion

public Deletion()
Method Detail

writeHeader

public void writeHeader(OutputStream os)
                 throws IOException
Specified by:
writeHeader in class AbstractContent
Throws:
IOException

writeContent

public void writeContent(OutputStream os)
                  throws IOException
Specified by:
writeContent in class AbstractContent
Throws:
IOException


Copyright © 2013. All Rights Reserved.