public class HTTPRepresentation
extends org.restlet.representation.StreamRepresentation
| Modifier and Type | Class and Description |
|---|---|
class |
HTTPRepresentation.ErrorResponseException |
class |
HTTPRepresentation.HTTPException |
class |
HTTPRepresentation.InvalidResponseException |
class |
HTTPRepresentation.RedirectToExistingDocumentException |
| Constructor and Description |
|---|
HTTPRepresentation(java.lang.String iri,
RedirectManager redirects,
java.lang.String acceptHeader) |
| Modifier and Type | Method and Description |
|---|---|
java.nio.channels.ReadableByteChannel |
getChannel() |
java.io.InputStream |
getStream() |
void |
write(java.io.OutputStream outputStream) |
void |
write(java.nio.channels.WritableByteChannel writableByteChannel) |
append, exhaust, getAvailableSize, getDigest, getDisposition, getExpirationDate, getRange, getRegistration, getSize, getText, hasKnownSize, isAvailable, isEmpty, isSelectable, isTransient, release, setAvailable, setDigest, setDisposition, setExpirationDate, setListener, setRange, setSize, setTransientgetModificationDate, getTag, setModificationDate, setTagpublic HTTPRepresentation(java.lang.String iri,
RedirectManager redirects,
java.lang.String acceptHeader)
throws java.io.IOException
java.io.IOExceptionpublic java.nio.channels.ReadableByteChannel getChannel()
throws java.io.IOException
getChannel in class org.restlet.representation.StreamRepresentationjava.io.IOExceptionpublic java.io.InputStream getStream()
throws java.io.IOException
getStream in class org.restlet.representation.Representationjava.io.IOExceptionpublic void write(java.io.OutputStream outputStream)
throws java.io.IOException
write in class org.restlet.representation.Representationjava.io.IOExceptionpublic void write(java.nio.channels.WritableByteChannel writableByteChannel)
throws java.io.IOException
write in class org.restlet.representation.StreamRepresentationjava.io.IOExceptionCopyright © 2007-2016. All Rights Reserved.