public class ProtocolChunkedInput extends Object implements org.jboss.netty.handler.stream.ChunkedInput
| Constructor and Description |
|---|
ProtocolChunkedInput(org.jboss.netty.channel.ChannelHandlerContext ctx,
PrivateKey privateKey) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMarkerForSignature() |
void |
close() |
void |
copyToCurrent(byte size) |
void |
copyToCurrent(byte[] byteArray) |
void |
copyToCurrent(byte[] array,
int offset,
int length) |
void |
copyToCurrent(org.jboss.netty.buffer.ChannelBuffer slice) |
void |
copyToCurrent(int size) |
void |
copyToCurrent(long long1) |
void |
copyToCurrent(short short1) |
void |
flush(boolean last) |
boolean |
hasNextChunk() |
boolean |
isEndOfInput() |
Object |
nextChunk() |
void |
resume() |
int |
size() |
public ProtocolChunkedInput(org.jboss.netty.channel.ChannelHandlerContext ctx,
PrivateKey privateKey)
throws NoSuchAlgorithmException,
InvalidKeyException
public boolean hasNextChunk()
throws Exception
hasNextChunk in interface org.jboss.netty.handler.stream.ChunkedInputExceptionpublic Object nextChunk() throws Exception
nextChunk in interface org.jboss.netty.handler.stream.ChunkedInputExceptionpublic int size()
public void addMarkerForSignature()
public boolean isEndOfInput()
throws Exception
isEndOfInput in interface org.jboss.netty.handler.stream.ChunkedInputExceptionpublic void close()
throws Exception
close in interface org.jboss.netty.handler.stream.ChunkedInputExceptionpublic void resume()
public void copyToCurrent(byte[] byteArray)
public void copyToCurrent(int size)
public void copyToCurrent(byte size)
public void copyToCurrent(long long1)
public void copyToCurrent(short short1)
public void copyToCurrent(org.jboss.netty.buffer.ChannelBuffer slice)
public void copyToCurrent(byte[] array,
int offset,
int length)
public void flush(boolean last)
Copyright © 2011. All Rights Reserved.