Package org.actioncontroller.values
Class UnencryptedCookiePreview.ConsumerMapper
- java.lang.Object
-
- org.actioncontroller.values.UnencryptedCookiePreview.ConsumerMapper
-
- All Implemented Interfaces:
HttpClientParameterMapper,HttpParameterMapper
- Direct Known Subclasses:
UnencryptedCookiePreview.AtomicReferenceMapper
- Enclosing class:
- UnencryptedCookiePreview
public static class UnencryptedCookiePreview.ConsumerMapper extends Object implements HttpParameterMapper, HttpClientParameterMapper
-
-
Constructor Summary
Constructors Constructor Description ConsumerMapper(UnencryptedCookiePreview 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 ActionControllerCookiecreateCookie(Object o, String contextPath)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(UnencryptedCookiePreview annotation, Parameter parameter)
-
-
Method Detail
-
apply
public Object apply(ApiHttpExchange exchange)
- Specified by:
applyin interfaceHttpParameterMapper
-
setResponseCookie
protected void setResponseCookie(ApiHttpExchange exchange, Object o)
-
createCookie
protected ActionControllerCookie createCookie(Object o, String contextPath)
-
apply
public void apply(ApiClientExchange exchange, Object arg) throws IOException
- Specified by:
applyin interfaceHttpClientParameterMapper- Throws:
IOException
-
getResponseCookies
protected List<String> getResponseCookies(ApiClientExchange exchange)
-
-