@NotThreadSafe public class ResourceStreamResult extends StreamResult
StreamResult implementation that writes to
IWritableResource or IHasOutputStream objects. The system ID
of the stream source is automatically determined from the resource or can be
manually passed in.FEATUREPI_DISABLE_OUTPUT_ESCAPING, PI_ENABLE_OUTPUT_ESCAPING| Constructor and Description |
|---|
ResourceStreamResult(IHasOutputStream aOSP,
String sSystemID) |
ResourceStreamResult(IWritableResource aResource) |
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
getOutputStream() |
String |
toString() |
getSystemId, getWriter, setOutputStream, setSystemId, setSystemId, setWriterpublic ResourceStreamResult(@Nonnull IWritableResource aResource)
public ResourceStreamResult(@Nonnull IHasOutputStream aOSP, @Nullable String sSystemID)
public OutputStream getOutputStream()
getOutputStream in class StreamResultCopyright © 2014–2015 Philip Helger. All rights reserved.