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

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

public class FormParamInjector
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
FormParamInjector(Type type, String header, String defaultValue)
           
 
Method Summary
 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

FormParamInjector

public FormParamInjector(Type type,
                         String header,
                         String defaultValue)
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:


Copyright © 2015. All rights reserved.