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

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

public class Status
extends Object
implements RestResponse


Constructor Summary
Status(int status)
           
 
Method Summary
 void execute(OutputStream outputStream)
           
 int getStatus()
           
 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

Status

public Status(int status)
Method Detail

getStatus

public int getStatus()

setup

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

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.