protected class MemoryProtocolHandler.ByteChunkOutputBuffer extends Object implements OutputBuffer
Constructor and Description |
---|
ByteChunkOutputBuffer(ByteChunk output) |
Modifier and Type | Method and Description |
---|---|
int |
doWrite(ByteChunk chunk,
Response response)
Write the response.
|
protected ByteChunk output
public ByteChunkOutputBuffer(ByteChunk output)
public int doWrite(ByteChunk chunk, Response response) throws IOException
OutputBuffer
doWrite
in interface OutputBuffer
chunk
- data to writeresponse
- used to allow buffers that can be shared by multiple responses.IOException
Copyright © 2015 JBoss by Red Hat. All rights reserved.