Package org.actioncontroller.values
Class UnencryptedCookie.ConsumerMapper
- java.lang.Object
-
- org.actioncontroller.values.UnencryptedCookie.ConsumerMapper
-
- All Implemented Interfaces:
HttpClientParameterMapper,HttpParameterMapper
- Direct Known Subclasses:
UnencryptedCookie.AtomicReferenceMapper
- Enclosing class:
- UnencryptedCookie
public static class UnencryptedCookie.ConsumerMapper extends Object implements HttpParameterMapper, HttpClientParameterMapper
-
-
Constructor Summary
Constructors Constructor Description ConsumerMapper(UnencryptedCookie annotation, Parameter parameter)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectapply(ApiHttpExchange exchange)voidapply(ApiClientExchange exchange, Object arg)protected List<String>getResponseCookies(ApiClientExchange exchange)protected voidsetResponseCookie(ApiHttpExchange exchange, Object o)-
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.HttpParameterMapper
onComplete
-
-
-
-
Field Detail
-
name
protected final String name
-
-
Constructor Detail
-
ConsumerMapper
public ConsumerMapper(UnencryptedCookie annotation, Parameter parameter)
-
-
Method Detail
-
apply
public Object apply(ApiHttpExchange exchange)
- Specified by:
applyin interfaceHttpParameterMapper
-
setResponseCookie
protected void setResponseCookie(ApiHttpExchange exchange, Object o)
-
apply
public void apply(ApiClientExchange exchange, Object arg) throws IOException
- Specified by:
applyin interfaceHttpClientParameterMapper- Throws:
IOException
-
getResponseCookies
protected List<String> getResponseCookies(ApiClientExchange exchange)
-
-