org.cruxframework.crux.core.server.rest.core.dispatch
Class MessageBodyParamInjector

java.lang.Object
  extended by org.cruxframework.crux.core.server.rest.core.dispatch.StringParameterInjector
      extended by org.cruxframework.crux.core.server.rest.core.dispatch.MessageBodyParamInjector
All Implemented Interfaces:
ValueInjector

public class MessageBodyParamInjector
extends StringParameterInjector
implements ValueInjector

Author:
Thiago da Rosa de Bustamante

Field Summary
 
Fields inherited from class org.cruxframework.crux.core.server.rest.core.dispatch.StringParameterInjector
constructor, defaultValue, paramName, rawType, valueOf
 
Constructor Summary
MessageBodyParamInjector(Class<?> declaringClass, Type type)
           
 
Method Summary
 Object extractValue(String strVal, HttpRequest request)
           
 Object inject(HttpRequest request)
          Inject value extracted from an HTTP request.
 
Methods inherited from class org.cruxframework.crux.core.server.rest.core.dispatch.StringParameterInjector
extractValue, findValueOfMethod, getParamSignature, initialize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageBodyParamInjector

public MessageBodyParamInjector(Class<?> declaringClass,
                                Type type)
Method Detail

inject

public Object inject(HttpRequest request)
Description copied from interface: ValueInjector
Inject value extracted from an HTTP request.

Specified by:
inject in interface ValueInjector
Returns:

extractValue

public Object extractValue(String strVal,
                           HttpRequest request)


Copyright © 2015. All rights reserved.