|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.alibaba.dubbo.common.serialize.support.hessian.Hessian2ObjectInput
public class Hessian2ObjectInput
Hessian2 Object input.
Constructor Summary | |
---|---|
Hessian2ObjectInput(InputStream is)
|
Method Summary | ||
---|---|---|
boolean |
readBool()
Read boolean. |
|
byte |
readByte()
Read byte. |
|
byte[] |
readBytes()
Read byte array. |
|
double |
readDouble()
Read double. |
|
float |
readFloat()
Read float. |
|
int |
readInt()
Read integer. |
|
long |
readLong()
Read long. |
|
Object |
readObject()
read object. |
|
|
readObject(Class<T> cls)
read object. |
|
|
readObject(Class<T> cls,
Type type)
read object. |
|
short |
readShort()
Read short integer. |
|
String |
readUTF()
Read UTF-8 string. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Hessian2ObjectInput(InputStream is)
Method Detail |
---|
public boolean readBool() throws IOException
DataInput
readBool
in interface DataInput
IOException
public byte readByte() throws IOException
DataInput
readByte
in interface DataInput
IOException
public short readShort() throws IOException
DataInput
readShort
in interface DataInput
IOException
public int readInt() throws IOException
DataInput
readInt
in interface DataInput
IOException
public long readLong() throws IOException
DataInput
readLong
in interface DataInput
IOException
public float readFloat() throws IOException
DataInput
readFloat
in interface DataInput
IOException
public double readDouble() throws IOException
DataInput
readDouble
in interface DataInput
IOException
public byte[] readBytes() throws IOException
DataInput
readBytes
in interface DataInput
IOException
public String readUTF() throws IOException
DataInput
readUTF
in interface DataInput
IOException
public Object readObject() throws IOException
ObjectInput
readObject
in interface ObjectInput
IOException
public <T> T readObject(Class<T> cls) throws IOException, ClassNotFoundException
ObjectInput
readObject
in interface ObjectInput
cls
- object type.
IOException
ClassNotFoundException
public <T> T readObject(Class<T> cls, Type type) throws IOException, ClassNotFoundException
ObjectInput
readObject
in interface ObjectInput
cls
- object type.
IOException
ClassNotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |