public class GenericStreamResponse extends Object implements org.apache.tapestry5.StreamResponse
| Constructor and Description |
|---|
GenericStreamResponse(String type,
InputStream stream) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType() |
InputStream |
getStream() |
static GenericStreamResponse |
noResponse() |
void |
prepareResponse(org.apache.tapestry5.services.Response response) |
public GenericStreamResponse(String type, InputStream stream)
public String getContentType()
getContentType in interface org.apache.tapestry5.StreamResponsepublic InputStream getStream() throws IOException
getStream in interface org.apache.tapestry5.StreamResponseIOExceptionpublic void prepareResponse(org.apache.tapestry5.services.Response response)
prepareResponse in interface org.apache.tapestry5.StreamResponsepublic static GenericStreamResponse noResponse()
Copyright © 2009-2015. All Rights Reserved.