|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Entity
The Entity object is used to represent the HTTP entity
received from the client. The entity contains a header and body as
well as the underlying Channel for the connection. If
there is no body with the entity this will provide an empty body
object which provides a zero length sequence of bytes.
| Method Summary | |
|---|---|
Body |
getBody()
This is used to acquire the body for this HTTP entity. |
Channel |
getChannel()
This provides the connected channel for the client. |
Header |
getHeader()
This provides the HTTP request header for the entity. |
long |
getTime()
This is the time in milliseconds when the request was first read from the underlying channel. |
| Method Detail |
|---|
long getTime()
Body getBody()
Part objects. Each
part can then be read as an individual message.
Header getHeader()
Channel getChannel()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||