com.hazelcast.ascii.rest
Class RestValue
java.lang.Object
com.hazelcast.ascii.rest.RestValue
- All Implemented Interfaces:
- DataSerializable
public class RestValue
- extends Object
- implements DataSerializable
RestValue
public RestValue()
RestValue
public RestValue(byte[] value,
byte[] contentType)
readData
public void readData(ObjectDataInput in)
throws IOException
- Description copied from interface:
DataSerializable
- Reads fields from the input stream
- Specified by:
readData
in interface DataSerializable
- Parameters:
in
- input
- Throws:
IOException
writeData
public void writeData(ObjectDataOutput out)
throws IOException
- Description copied from interface:
DataSerializable
- Writes object fields to output stream
- Specified by:
writeData
in interface DataSerializable
- Parameters:
out
- output
- Throws:
IOException
getContentType
public byte[] getContentType()
setContentType
public void setContentType(byte[] contentType)
getValue
public byte[] getValue()
setValue
public void setValue(byte[] value)
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.