Package | Description |
---|---|
bayou.file |
Utilities for files.
|
bayou.gzip |
GZIP related utils.
|
bayou.http |
Http server.
|
bayou.text |
Utilities for texts.
|
Modifier and Type | Class and Description |
---|---|
class |
FileHttpEntity
An HttpEntity based on a file.
|
Modifier and Type | Class and Description |
---|---|
class |
GzipHttpEntity
Compresses the origin HttpEntity with gzip.
|
Modifier and Type | Method and Description |
---|---|
HttpEntity |
GzipHttpEntity.getOriginEntity()
The origin entity.
|
Constructor and Description |
---|
GzipHttpEntity(HttpEntity origin,
int compressionLevel)
Create a GzipHttpEntity, which compresses the origin entity body with gzip.
|
Modifier and Type | Interface and Description |
---|---|
interface |
HttpEntityWrapper
A wrapper of HttpEntity.
|
Modifier and Type | Class and Description |
---|---|
class |
CachedHttpEntity
Caches the origin entity in memory.
|
class |
SimpleHttpEntity
An HttpEntity of some bytes.
|
class |
ThrottledHttpEntity
Throttles the origin HttpEntity.
|
Modifier and Type | Method and Description |
---|---|
HttpEntity |
HttpResponseImpl.entity()
Get the entity.
|
HttpEntity |
HttpResponse.entity()
Response entity; null if none.
|
HttpEntity |
HttpRequestImpl.entity()
Get the entity.
|
HttpEntity |
HttpRequest.entity()
Request entity; null if none.
|
HttpEntity |
ThrottledHttpEntity.getOriginEntity()
The origin entity.
|
HttpEntity |
HttpEntityWrapper.getOriginEntity()
The origin entity.
|
Modifier and Type | Method and Description |
---|---|
HttpResponseImpl |
HttpResponseImpl.entity(HttpEntity entity)
Set the entity.
|
HttpRequestImpl |
HttpRequestImpl.entity(HttpEntity entity)
Set the entity.
|
Constructor and Description |
---|
CachedHttpEntity(HttpEntity origin)
Create a cache of the origin entity.
|
HttpRequestImpl(String method,
String uri,
HttpEntity entity)
Create an http request.
|
HttpResponseImpl(HttpStatus status,
HttpEntity entity)
Create an http response.
|
ThrottledHttpEntity(HttpEntity origin,
int bufferSize,
long b0,
long bytesPerSecond)
Create a throttled wrapper of the origin source, with a linear curve.
|
ThrottledHttpEntity(HttpEntity origin,
int bufferSize,
ThrottledByteSource.Curve curve)
Create a throttled wrapper of the origin entity.
|
Modifier and Type | Class and Description |
---|---|
class |
TextHttpEntity
An HttpEntity representing some texts.
|