com.googlecode.fascinator.portal.services
Class HttpStatusCodeResponse

java.lang.Object
  extended by com.googlecode.fascinator.portal.services.HttpStatusCodeResponse
All Implemented Interfaces:
org.apache.tapestry5.StreamResponse

public class HttpStatusCodeResponse
extends Object
implements org.apache.tapestry5.StreamResponse


Constructor Summary
HttpStatusCodeResponse(int sc, String message)
           
 
Method Summary
 String getContentType()
           
 InputStream getStream()
           
 void prepareResponse(org.apache.tapestry5.services.Response response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpStatusCodeResponse

public HttpStatusCodeResponse(int sc,
                              String message)
Method Detail

getContentType

public String getContentType()
Specified by:
getContentType in interface org.apache.tapestry5.StreamResponse

getStream

public InputStream getStream()
                      throws IOException
Specified by:
getStream in interface org.apache.tapestry5.StreamResponse
Throws:
IOException

prepareResponse

public void prepareResponse(org.apache.tapestry5.services.Response response)
Specified by:
prepareResponse in interface org.apache.tapestry5.StreamResponse


Copyright © 2009-2012. All Rights Reserved.