HttpEntityFactorypublic class IdentityHttpEntityFactory extends java.lang.Object implements HttpEntityFactory
HttpEntityFactory that returns an entity simply wrapping the given one.| Modifier and Type | Field | Description |
|---|---|---|
static IdentityHttpEntityFactory |
INSTANCE |
| Modifier and Type | Method | Description |
|---|---|---|
org.apache.http.HttpEntity |
newEntity(org.apache.http.HttpEntity from) |
public static final IdentityHttpEntityFactory INSTANCE
public org.apache.http.HttpEntity newEntity(org.apache.http.HttpEntity from)
newEntity in interface HttpEntityFactory