org.apache.cocoon.components.flow.apples
Class DefaultAppleResponse

java.lang.Object
  extended by org.apache.cocoon.components.flow.apples.DefaultAppleResponse
All Implemented Interfaces:
AppleResponse

public class DefaultAppleResponse
extends Object
implements AppleResponse

DefaultAppleResponse provides a default implementation for the AppleResponse.


Constructor Summary
DefaultAppleResponse(Response cocoonResponse)
           
 
Method Summary
 Response getCocoonResponse()
           
protected  Object getData()
           
protected  String getURI()
           
protected  boolean isRedirect()
           
 void redirectTo(String uri)
           
 void sendPage(String uri, Object bizData)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultAppleResponse

public DefaultAppleResponse(Response cocoonResponse)
Method Detail

sendPage

public void sendPage(String uri,
                     Object bizData)
Specified by:
sendPage in interface AppleResponse

redirectTo

public void redirectTo(String uri)
Specified by:
redirectTo in interface AppleResponse

isRedirect

protected boolean isRedirect()

getURI

protected String getURI()

getData

protected Object getData()

getCocoonResponse

public Response getCocoonResponse()
Specified by:
getCocoonResponse in interface AppleResponse


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.