public class ProtocolChunkedInput extends Object implements org.jboss.netty.handler.stream.ChunkedInput, ProtocolChunked
| 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() |
void |
transferToCurrent(FileChannel inChannel,
long length) |
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)
copyToCurrent in interface ProtocolChunkedpublic void copyToCurrent(int size)
copyToCurrent in interface ProtocolChunkedpublic void copyToCurrent(byte size)
copyToCurrent in interface ProtocolChunkedpublic void copyToCurrent(long long1)
copyToCurrent in interface ProtocolChunkedpublic void copyToCurrent(short short1)
copyToCurrent in interface ProtocolChunkedpublic void copyToCurrent(org.jboss.netty.buffer.ChannelBuffer slice)
copyToCurrent in interface ProtocolChunkedpublic void copyToCurrent(byte[] array,
int offset,
int length)
copyToCurrent in interface ProtocolChunkedpublic void flush(boolean last)
public void transferToCurrent(FileChannel inChannel, long length) throws IOException
transferToCurrent in interface ProtocolChunkedIOExceptionCopyright © 2013. All Rights Reserved.