public abstract class HttpMesssage
extends java.lang.Object
限定符和类型 | 方法和说明 |
---|---|
void |
close() |
java.io.InputStream |
getContent() |
long |
getContentLength() |
java.util.Map<java.lang.String,java.lang.String> |
getHeaders() |
void |
setContent(java.io.InputStream content) |
void |
setContentLength(long contentLength) |
void |
setHeaders(java.util.Map<java.lang.String,java.lang.String> headers) |
public java.util.Map<java.lang.String,java.lang.String> getHeaders()
public void setHeaders(java.util.Map<java.lang.String,java.lang.String> headers)
public java.io.InputStream getContent()
public void setContent(java.io.InputStream content)
public long getContentLength()
public void setContentLength(long contentLength)
public void close() throws java.io.IOException
java.io.IOException