org.apache.cocoon.rest.controller.response
Class RedirectResponse

java.lang.Object
  extended by org.apache.cocoon.rest.controller.response.RedirectResponse
All Implemented Interfaces:
RestResponse

public class RedirectResponse
extends Object
implements RestResponse


Constructor Summary
RedirectResponse(String location)
           
 
Method Summary
 void execute(OutputStream outputStream)
           
 RestResponseMetaData setup(Map<String,Object> inputParameters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RedirectResponse

public RedirectResponse(String location)
Method Detail

setup

public RestResponseMetaData setup(Map<String,Object> inputParameters)
                           throws Exception
Specified by:
setup in interface RestResponse
Throws:
Exception

execute

public void execute(OutputStream outputStream)
             throws Exception
Specified by:
execute in interface RestResponse
Throws:
Exception


Copyright © 2008-2012 The Apache Software Foundation. All Rights Reserved.