public class SerializableRepresentation extends BaseOutputRepresentation
Constructor and Description |
---|
SerializableRepresentation(Object obj) |
Modifier and Type | Method and Description |
---|---|
protected ObjectOutputStream |
createObjectOutputStream(OutputStream outputStream) |
Object |
getObject() |
void |
write(OutputStream outputStream) |
getStream
getText, isAvailable, isTransient, setAvailable, setTransient
getCharacterSet, getEncodings, getExpirationDate, getIdentifier, getLanguages, getMediaType, getModificationDate, getSize, getTag, setCharacterSet, setExpirationDate, setIdentifier, setIdentifier, setMediaType, setModificationDate, setSize, setTag
public SerializableRepresentation(Object obj)
public Object getObject()
public void write(OutputStream outputStream) throws IOException
write
in class org.restlet.resource.OutputRepresentation
IOException
protected ObjectOutputStream createObjectOutputStream(OutputStream outputStream) throws IOException
IOException