public class HttpEntityImpl extends Object implements HttpEntity
HttpEntity
implementation.Constructor and Description |
---|
HttpEntityImpl(ServerInputStreamImpl content)
Initiate.
|
Modifier and Type | Method and Description |
---|---|
Serializable |
exportState()
Exports the current state of the entity.
|
ServerInputStream |
getInputStream()
Obtains the
ServerInputStream to the entity content. |
public HttpEntityImpl(ServerInputStreamImpl content)
content
- ServerInputStream
to the entity content.public ServerInputStream getInputStream()
HttpEntity
ServerInputStream
to the entity content.getInputStream
in interface HttpEntity
ServerInputStream
to the entity content.public Serializable exportState() throws NotAllDataAvailableException
HttpEntity
Exports the current state of the entity.
Note that only non-consumed content will be available in the current state.
exportState
in interface HttpEntity
NotAllDataAvailableException
- Should the data for the entity not be fully received from the
client.Copyright © 2005–2016. All rights reserved.