org.cruxframework.crux.core.server.rest.core.dispatch
Class MessageBodyParamInjector
java.lang.Object
org.cruxframework.crux.core.server.rest.core.dispatch.StringParameterInjector
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessageBodyParamInjector
public MessageBodyParamInjector(Class<?> declaringClass,
Type type)
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 © 2014. All rights reserved.