org.codegist.crest
Interface ParamContext<V>

Type Parameters:
V - Parameter type argument
All Superinterfaces:
InterfaceContext, RequestContext

public interface ParamContext<V>
extends RequestContext

Context object passed during the parameter injection process

Author:
Laurent Gilles (laurent.gilles@codegist.org)
See Also:
Injector

Method Summary
 int getIndex()
           
 ParamConfig getParamConfig()
           
 V getRawValue()
           
 String getSerializedValue()
           
 boolean isForUrl()
          Returns whether the given parameter is for url or body
 
Methods inherited from interface org.codegist.crest.RequestContext
getArgCount, getArgs, getMethod, getMethodConfig, getParamConfig, getRawValue, getSerializedValue
 
Methods inherited from interface org.codegist.crest.InterfaceContext
getConfig, getProperties, getProperty
 

Method Detail

isForUrl

boolean isForUrl()
Returns whether the given parameter is for url or body

Returns:
true if is for url

getParamConfig

ParamConfig getParamConfig()

getRawValue

V getRawValue()

getSerializedValue

String getSerializedValue()

getIndex

int getIndex()
Returns:
Index of the current method call argument


Copyright © 2011. All Rights Reserved.