org.apache.axis2.transport.http.server
Class OutputBuffer
java.lang.Object
org.apache.axis2.transport.http.server.OutputBuffer
- All Implemented Interfaces:
- org.apache.http.HttpEntity, OutTransportInfo
- public class OutputBuffer
- extends Object
- implements OutTransportInfo, org.apache.http.HttpEntity
OutputBuffer
public OutputBuffer(int initialCapacity)
OutputBuffer
public OutputBuffer()
getOutputStream
public OutputStream getOutputStream()
getContent
public InputStream getContent()
throws IOException,
IllegalStateException
- Specified by:
getContent
in interface org.apache.http.HttpEntity
- Throws:
IOException
IllegalStateException
setContentType
public void setContentType(String contentType)
- Specified by:
setContentType
in interface OutTransportInfo
getContentType
public org.apache.http.Header getContentType()
- Specified by:
getContentType
in interface org.apache.http.HttpEntity
consumeContent
public void consumeContent()
throws IOException
- Specified by:
consumeContent
in interface org.apache.http.HttpEntity
- Throws:
IOException
getContentEncoding
public org.apache.http.Header getContentEncoding()
- Specified by:
getContentEncoding
in interface org.apache.http.HttpEntity
getContentLength
public long getContentLength()
- Specified by:
getContentLength
in interface org.apache.http.HttpEntity
isChunked
public boolean isChunked()
- Specified by:
isChunked
in interface org.apache.http.HttpEntity
setChunked
public void setChunked(boolean b)
isRepeatable
public boolean isRepeatable()
- Specified by:
isRepeatable
in interface org.apache.http.HttpEntity
isStreaming
public boolean isStreaming()
- Specified by:
isStreaming
in interface org.apache.http.HttpEntity
writeTo
public void writeTo(OutputStream outstream)
throws IOException
- Specified by:
writeTo
in interface org.apache.http.HttpEntity
- Throws:
IOException
toString
public String toString()