|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.codehaus.httpcache4j.payload.ClosedInputStreamPayload
public class ClosedInputStreamPayload
| Constructor Summary | |
|---|---|
ClosedInputStreamPayload(MIMEType mimeType)
|
|
| Method Summary | |
|---|---|
java.io.InputStream |
getInputStream()
Returns the input stream of the payload. |
MIMEType |
getMimeType()
Return the mime-type of the payload. |
boolean |
isAvailable()
Returns true if the payload is available, IE. |
boolean |
isTransient()
Returns the transientness of the payload. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClosedInputStreamPayload(MIMEType mimeType)
| Method Detail |
|---|
public MIMEType getMimeType()
Payload
getMimeType in interface Payloadpublic java.io.InputStream getInputStream()
Payload
getInputStream in interface Payloadnull if the payload is not available.public boolean isAvailable()
Payloadtrue if the payload is available, IE. If the stream can be read from.
isAvailable in interface Payloadtrue if the payload is available. false if not.public boolean isTransient()
Payload
isTransient in interface Payloadtrue if the payload can be re-read. false if not.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||