public class RestValue extends Object implements DataSerializable
Constructor and Description |
---|
RestValue() |
RestValue(byte[] value,
byte[] contentType) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getContentType() |
byte[] |
getValue() |
void |
readData(ObjectDataInput in) |
void |
setContentType(byte[] contentType) |
void |
setValue(byte[] value) |
String |
toString() |
void |
writeData(ObjectDataOutput out) |
public RestValue()
public RestValue(byte[] value, byte[] contentType)
public void readData(ObjectDataInput in) throws IOException
readData
in interface DataSerializable
IOException
public void writeData(ObjectDataOutput out) throws IOException
writeData
in interface DataSerializable
IOException
public byte[] getContentType()
public void setContentType(byte[] contentType)
public byte[] getValue()
public void setValue(byte[] value)
Copyright © 2014 Hazelcast, Inc.. All rights reserved.