public class HttpStatusCodeResponse extends Object implements org.apache.tapestry5.StreamResponse
| Constructor and Description |
|---|
HttpStatusCodeResponse(int sc,
String message) |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType() |
InputStream |
getStream() |
void |
prepareResponse(org.apache.tapestry5.services.Response response) |
public HttpStatusCodeResponse(int sc,
String message)
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.StreamResponseCopyright © 2009-2016. All Rights Reserved.