Package org.actioncontroller.values
Class HttpHeader.Mapper
- java.lang.Object
-
- org.actioncontroller.values.HttpHeader.Mapper
-
- All Implemented Interfaces:
AnnotationFactory,HttpParameterMapperFactory<HttpHeader>,HttpReturnMapperFactory<HttpHeader>
- Enclosing class:
- HttpHeader
public static class HttpHeader.Mapper extends Object implements HttpParameterMapperFactory<HttpHeader>, HttpReturnMapperFactory<HttpHeader>
-
-
Constructor Summary
Constructors Constructor Description Mapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpClientParameterMapperclientParameterMapper(HttpHeader annotation, Parameter parameter)Used byApiClientClassProxyto convert method arguments into HTTP request information.HttpParameterMappercreate(HttpHeader annotation, Parameter parameter, ApiControllerContext context)Create a mapper to convert aApiHttpExchangeinto method call arguments.HttpReturnMappercreate(HttpHeader annotation, Type returnType, ApiControllerContext context)HttpClientReturnMappercreateClientMapper(HttpHeader annotation, Type returnType)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.actioncontroller.meta.HttpParameterMapperFactory
safeCreate
-
-
-
-
Method Detail
-
create
public HttpParameterMapper create(HttpHeader annotation, Parameter parameter, ApiControllerContext context)
Description copied from interface:HttpParameterMapperFactoryCreate a mapper to convert aApiHttpExchangeinto method call arguments.- Specified by:
createin interfaceHttpParameterMapperFactory<HttpHeader>
-
create
public HttpReturnMapper create(HttpHeader annotation, Type returnType, ApiControllerContext context)
- Specified by:
createin interfaceHttpReturnMapperFactory<HttpHeader>
-
clientParameterMapper
public HttpClientParameterMapper clientParameterMapper(HttpHeader annotation, Parameter parameter)
Description copied from interface:HttpParameterMapperFactoryUsed byApiClientClassProxyto convert method arguments into HTTP request information.- Specified by:
clientParameterMapperin interfaceHttpParameterMapperFactory<HttpHeader>
-
createClientMapper
public HttpClientReturnMapper createClientMapper(HttpHeader annotation, Type returnType)
- Specified by:
createClientMapperin interfaceHttpReturnMapperFactory<HttpHeader>
-
-