public interface Entity
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.Modifier and Type | Method and Description |
---|---|
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.
|
long getTime()
Body getBody()
Part
objects. Each
part can then be read as an individual message.Header getHeader()
Channel getChannel()
Copyright © 2024. All rights reserved.