Package ej.rest.web
Class Deletion
- java.lang.Object
-
- ej.rest.web.AbstractContent
-
- ej.rest.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.
-
-
Field Summary
-
Fields inherited from class ej.rest.web.AbstractContent
CRLF
-
-
Constructor Summary
Constructors Constructor Description Deletion()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddContent(URLConnection con)voidwriteContent(OutputStream os)voidwriteHeader(OutputStream os)-
Methods inherited from class ej.rest.web.AbstractContent
ascii, enc
-
-
-
-
Method Detail
-
writeHeader
public void writeHeader(OutputStream os) throws IOException
- Specified by:
writeHeaderin classAbstractContent- Throws:
IOException
-
writeContent
public void writeContent(OutputStream os) throws IOException
- Specified by:
writeContentin classAbstractContent- Throws:
IOException
-
addContent
protected void addContent(URLConnection con) throws IOException
- Specified by:
addContentin classAbstractContent- Throws:
IOException
-
-