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

java.lang.Object
  extended by org.apache.cocoon.rest.controller.response.RestResponseMetaData

public class RestResponseMetaData
extends Object


Constructor Summary
RestResponseMetaData()
           
RestResponseMetaData(int status)
           
RestResponseMetaData(String contentType, int statusCode)
           
 
Method Summary
 String getContentType()
           
 int getStatusCode()
           
 void setContentType(String contentType)
           
 void setStatusCode(int statusCode)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestResponseMetaData

public RestResponseMetaData()

RestResponseMetaData

public RestResponseMetaData(int status)

RestResponseMetaData

public RestResponseMetaData(String contentType,
                            int statusCode)
Method Detail

getContentType

public String getContentType()

getStatusCode

public int getStatusCode()

setContentType

public void setContentType(String contentType)

setStatusCode

public void setStatusCode(int statusCode)


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