public class GzipEndpointFactory extends java.lang.Object implements ProtocolEndpointFactory
Constructor and Description |
---|
GzipEndpointFactory() |
GzipEndpointFactory(int bufferSize) |
Modifier and Type | Method and Description |
---|---|
GzipEndpoint |
createEndpoint(java.io.OutputStream outputStream,
java.io.InputStream inputStream)
Creates an end-point for the protocol related to this factory on the
specified streams.
|
int |
getBufferSize() |
public GzipEndpointFactory()
public GzipEndpointFactory(int bufferSize)
public int getBufferSize()
public GzipEndpoint createEndpoint(java.io.OutputStream outputStream, java.io.InputStream inputStream)
ProtocolEndpointFactory
createEndpoint
in interface ProtocolEndpointFactory
outputStream
- the output stream of the connectioninputStream
- the input stream of the connection