public class HessianSerializerInput extends HessianInput
HessianSerializerInput is unbuffered, so any client needs to provide its own buffering.
InputStream is = new FileInputStream("test.xml");
HessianOutput in = new HessianSerializerOutput(is);
Object obj = in.readObject();
is.close();
InputStream is = ...; // from http connection HessianInput in = new HessianSerializerInput(is); String value; in.startReply(); // read reply header value = in.readString(); // read string value in.completeReply(); // read reply footer
| 构造器和说明 |
|---|
HessianSerializerInput()
Creates an uninitialized Hessian input stream.
|
HessianSerializerInput(InputStream is)
Creates a new Hessian input stream, initialized with an
underlying input stream.
|
addRef, close, completeCall, completeReply, completeValueReply, getMethod, getReader, getReplyFault, getSerializerFactory, init, isEnd, readBoolean, readByte, readBytes, readBytes, readCall, readChar, readDouble, readEnd, readFloat, readHeader, readInputStream, readInt, readLength, readListEnd, readListStart, readLong, readMapEnd, readMapStart, readMethod, readNode, readNull, readObject, readObject, readObject, readObject, readRef, readRemote, readReply, readShort, readString, readString, readType, readUTCDate, resetReferences, resolveRemote, setRef, setSerializerFactory, skipOptionalCall, startCall, startReplygetRemoteResolver, readMethodArgLength, setRemoteResolverpublic HessianSerializerInput(InputStream is)
is - the underlying input stream.public HessianSerializerInput()
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.