@NotThreadSafe public class ResourceStreamResult extends StreamResult
StreamResult implementation that writes to
IWritableResource or IOutputStreamProvider 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(IOutputStreamProvider 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 IOutputStreamProvider aOSP, @Nullable String sSystemID)
public OutputStream getOutputStream()
getOutputStream in class StreamResultCopyright © 2006–2014 phloc systems. All rights reserved.