railo.runtime.rest
Class RestSettingImpl

java.lang.Object
  extended by railo.runtime.rest.RestSettingImpl
All Implemented Interfaces:
RestSettings

public class RestSettingImpl
extends Object
implements RestSettings


Constructor Summary
RestSettingImpl(boolean skipCFCWithError, int returnFormat)
           
 
Method Summary
 int getReturnFormat()
          return format of the request, ignored when format is defined as part of the call
 boolean getSkipCFCWithError()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RestSettingImpl

public RestSettingImpl(boolean skipCFCWithError,
                       int returnFormat)
Method Detail

getSkipCFCWithError

public boolean getSkipCFCWithError()
Specified by:
getSkipCFCWithError in interface RestSettings

getReturnFormat

public int getReturnFormat()
Description copied from interface: RestSettings
return format of the request, ignored when format is defined as part of the call

Specified by:
getReturnFormat in interface RestSettings
Returns:
possible values are: UDF.RETURN_FORMAT_JSON, UDF.RETURN_FORMAT_WDDX, UDF.RETURN_FORMAT_SERIALIZE, UDF.RETURN_FORMAT_XML


Copyright © 2012 Railo