org.apache.clerezza.triaxrs.parameterinjectors
Interface ParameterInjector<A extends Annotation>

All Known Implementing Classes:
ContextInjector, CookieParameterInjector, FormParameterInjector, HeaderParameterInjector, MatrixParameterInjector, PathParameterInjector, QueryParameterInjector

public interface ParameterInjector<A extends Annotation>

A ParameterInjector creates an object to set the value of a field or parameter with an annotation A considering its type.

Author:
reto

Method Summary
<T> T
getValue(WebRequest request, Map<String,String> pathParams, javax.ws.rs.ext.Providers providers, Type parameterType, A annotation, boolean encodingDisabled, String defaultValue)
           
 

Method Detail

getValue

<T> T getValue(WebRequest request,
               Map<String,String> pathParams,
               javax.ws.rs.ext.Providers providers,
               Type parameterType,
               A annotation,
               boolean encodingDisabled,
               String defaultValue)
           throws UnsupportedFieldType
Throws:
UnsupportedFieldType


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