|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StreamingOutput
A type that may be used as a resource method return value or as the entity
in a Response
when the application wishes to stream the output.
This is a lightweight alternative to a
MessageBodyWriter
.
MessageBodyWriter
,
Response
Method Summary | |
---|---|
void |
write(java.io.OutputStream output)
Called to write the message body. |
Method Detail |
---|
void write(java.io.OutputStream output) throws java.io.IOException, WebApplicationException
output
- the OutputStream to write to.
java.io.IOException
- if an IO error is encountered
WebApplicationException
- if a specific
HTTP error response needs to be produced. Only effective if thrown prior
to any bytes being written to output.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2009, 2010, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.
Generated on 4-June-2010 04:34