@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(com.helger.commons.io.IHasOutputStream aOSP,
String sSystemID) |
ResourceStreamResult(com.helger.commons.io.resource.IWritableResource aResource) |
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
getOutputStream() |
String |
toString() |
getSystemId, getWriter, setOutputStream, setSystemId, setSystemId, setWriterpublic ResourceStreamResult(@Nonnull com.helger.commons.io.resource.IWritableResource aResource)
public OutputStream getOutputStream()
getOutputStream in class StreamResultCopyright © 2014–2018 Philip Helger. All rights reserved.