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) |
getStreamgetText, isAvailable, isTransient, setAvailable, setTransientgetCharacterSet, getEncodings, getExpirationDate, getIdentifier, getLanguages, getMediaType, getModificationDate, getSize, getTag, setCharacterSet, setExpirationDate, setIdentifier, setIdentifier, setMediaType, setModificationDate, setSize, setTagpublic SerializableRepresentation(Object obj)
public Object getObject()
public void write(OutputStream outputStream) throws IOException
write in class org.restlet.resource.OutputRepresentationIOExceptionprotected ObjectOutputStream createObjectOutputStream(OutputStream outputStream) throws IOException
IOException