Constructor and Description |
---|
MimeResponseSink(javax.portlet.MimeResponse response)
Constructs a
MimeResponseSink for the given
response . |
Modifier and Type | Method and Description |
---|---|
OutputStream |
getOutputStream()
Returns the
OutputStream of the underlying MimeResponse . |
Writer |
getWriter()
Returns the
Writer of the underlying MimeResponse . |
public MimeResponseSink(javax.portlet.MimeResponse response)
MimeResponseSink
for the given
response
.response
- public OutputStream getOutputStream() throws IOException
OutputStream
of the underlying MimeResponse
.getOutputStream
in interface Sink
IOException
public Writer getWriter() throws IOException
Writer
of the underlying MimeResponse
.getWriter
in interface Sink
IOException
Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.