public class IoBufferDecoder.DecodingContext extends Object
Constructor | Description |
---|---|
DecodingContext() |
Modifier and Type | Method | Description |
---|---|---|
int |
getContentLength() |
|
IoBuffer |
getDecodedBuffer() |
|
IoBuffer |
getDelimiter() |
|
int |
getMatchCount() |
|
void |
reset() |
Resets the decoding state.
|
void |
setContentLength(int contentLength) |
|
void |
setDecodedBuffer(IoBuffer decodedBuffer) |
|
void |
setDelimiter(IoBuffer delimiter) |
|
void |
setMatchCount(int matchCount) |
public void reset()
public int getContentLength()
public void setContentLength(int contentLength)
public int getMatchCount()
public void setMatchCount(int matchCount)
public IoBuffer getDecodedBuffer()
public void setDecodedBuffer(IoBuffer decodedBuffer)
public IoBuffer getDelimiter()
public void setDelimiter(IoBuffer delimiter)
Copyright © 2004–2018 Apache MINA Project. All rights reserved.