public class HttpMessageEntity
extends org.apache.http.entity.AbstractHttpEntity
HttpEntity
which deals with isRepeatable()
,
isStreaming()
, Message.getCharset()
and Message.size()
.Constructor and Description |
---|
HttpMessageEntity(Message message) |
HttpMessageEntity(Message message,
org.apache.http.entity.ContentType contentType) |
Modifier and Type | Method and Description |
---|---|
InputStream |
getContent() |
long |
getContentLength() |
boolean |
isRepeatable() |
boolean |
isStreaming() |
void |
setContentEncoding(String charset) |
void |
writeTo(OutputStream outStream) |
public HttpMessageEntity(Message message)
public HttpMessageEntity(Message message, org.apache.http.entity.ContentType contentType)
public void setContentEncoding(String charset)
setContentEncoding
in class org.apache.http.entity.AbstractHttpEntity
public boolean isRepeatable()
public boolean isStreaming()
public long getContentLength()
public InputStream getContent() throws IOException
IOException
public void writeTo(OutputStream outStream) throws IOException
IOException
Copyright © 2023 Frank!Framework. All rights reserved.