|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StreamResponse
An alternate response from a component event handler method used to directly provide a stream of data to be sent to the client, rather than indicating what page to send a render redirect request to.
| Method Summary | |
|---|---|
String |
getContentType()
Returns the content type to be reported to the client. |
InputStream |
getStream()
Returns the stream of bytes to be sent to the client. |
void |
prepareResponse(Response response)
Prepares the response before it is sent to the client. |
| Method Detail |
|---|
String getContentType()
InputStream getStream()
throws IOException
BufferedInputStream for efficiency.
IOExceptionvoid prepareResponse(Response response)
response - Response that will be sent.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||