|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectittp.protocol.response.Response.Body
This class create the body of the response according to the request of the client.
Field Summary | |
java.io.File |
file
|
Constructor Summary | |
Response.Body(java.io.File file)
Constructor of the class for the whole of the file. |
|
Response.Body(java.io.File file,
int first,
int last)
Constructor of the class for a partial of the file. |
|
Response.Body(Request request)
Constructor of the class for a trace method. |
Method Summary | |
java.lang.String |
getDigest()
Accessors for the value of the content MD5. |
int |
getFirst()
Accessors for the number of the first octet of the body. |
int |
getLast()
Accessors for the number of the last octet of the body. |
java.lang.String |
getPathName()
Accessors for the name of the file (pathName). |
long |
length()
Accessors for the length of the body. |
java.io.InputStream |
toStream()
Convert to an InputStream the content of the body |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.io.File file
Constructor Detail |
public Response.Body(java.io.File file)
public Response.Body(java.io.File file, int first, int last)
public Response.Body(Request request)
Method Detail |
public java.lang.String getDigest()
public long length()
public int getFirst()
public int getLast()
public java.lang.String getPathName()
public java.io.InputStream toStream()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |