|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.restlet.representation.Variant
org.restlet.representation.RepresentationInfo
org.restlet.representation.Representation
org.restlet.representation.StreamRepresentation
net.fortytwo.linkeddata.dereferencers.HTTPRepresentation
public class HTTPRepresentation
| Nested Class Summary | |
|---|---|
class |
HTTPRepresentation.ErrorResponseException
|
class |
HTTPRepresentation.InvalidResponseException
|
| Field Summary |
|---|
| Fields inherited from class org.restlet.representation.Representation |
|---|
UNKNOWN_SIZE |
| Constructor Summary | |
|---|---|
HTTPRepresentation(String uri,
String acceptHeader)
|
|
| Method Summary | |
|---|---|
ReadableByteChannel |
getChannel()
|
long |
getIdleTime()
|
org.apache.commons.httpclient.HttpMethod |
getMethod()
|
InputStream |
getStream()
|
void |
write(OutputStream outputStream)
|
void |
write(WritableByteChannel writableByteChannel)
|
| Methods inherited from class org.restlet.representation.StreamRepresentation |
|---|
getReader, write |
| Methods inherited from class org.restlet.representation.Representation |
|---|
append, exhaust, getAvailableSize, getDigest, getDisposition, getExpirationDate, getRange, getRegistration, getSize, getText, hasKnownSize, isAvailable, isEmpty, isSelectable, isTransient, release, setAvailable, setDigest, setDisposition, setExpirationDate, setListener, setRange, setSize, setTransient |
| Methods inherited from class org.restlet.representation.RepresentationInfo |
|---|
getModificationDate, getTag, setModificationDate, setTag |
| Methods inherited from class org.restlet.representation.Variant |
|---|
createClientInfo, equals, getCharacterSet, getEncodings, getLanguages, getLocationRef, getMediaType, includes, isCompatible, setCharacterSet, setEncodings, setLanguages, setLocationRef, setLocationRef, setMediaType, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HTTPRepresentation(String uri,
String acceptHeader)
throws net.fortytwo.ripple.RippleException
net.fortytwo.ripple.RippleException| Method Detail |
|---|
public ReadableByteChannel getChannel()
throws IOException
getChannel in class org.restlet.representation.StreamRepresentationIOException
public InputStream getStream()
throws IOException
getStream in class org.restlet.representation.RepresentationIOExceptionpublic org.apache.commons.httpclient.HttpMethod getMethod()
public long getIdleTime()
public void write(OutputStream outputStream)
throws IOException
write in class org.restlet.representation.RepresentationIOException
public void write(WritableByteChannel writableByteChannel)
throws IOException
write in class org.restlet.representation.StreamRepresentationIOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||