@Deprecated
public class ServletCookies
extends java.lang.Object
implements io.micronaut.http.cookie.Cookies
Cookies
for serverless.Constructor and Description |
---|
ServletCookies(java.lang.String path,
io.micronaut.http.HttpHeaders headers,
io.micronaut.core.convert.ConversionService conversionService)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.util.Optional<io.micronaut.http.cookie.Cookie> |
findCookie(java.lang.CharSequence name)
Deprecated.
|
<T> java.util.Optional<T> |
get(java.lang.CharSequence name,
io.micronaut.core.convert.ArgumentConversionContext<T> conversionContext)
Deprecated.
|
<T> java.util.Optional<T> |
get(java.lang.CharSequence name,
java.lang.Class<T> requiredType)
Deprecated.
|
java.util.Set<io.micronaut.http.cookie.Cookie> |
getAll()
Deprecated.
|
java.util.Collection<io.micronaut.http.cookie.Cookie> |
values()
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public ServletCookies(java.lang.String path, io.micronaut.http.HttpHeaders headers, io.micronaut.core.convert.ConversionService conversionService)
path
- The pathheaders
- The Netty HTTP headersconversionService
- The conversion servicepublic java.util.Set<io.micronaut.http.cookie.Cookie> getAll()
getAll
in interface io.micronaut.http.cookie.Cookies
public java.util.Optional<io.micronaut.http.cookie.Cookie> findCookie(java.lang.CharSequence name)
findCookie
in interface io.micronaut.http.cookie.Cookies
public <T> java.util.Optional<T> get(java.lang.CharSequence name, java.lang.Class<T> requiredType)
get
in interface io.micronaut.core.value.ValueResolver<java.lang.CharSequence>
public <T> java.util.Optional<T> get(java.lang.CharSequence name, io.micronaut.core.convert.ArgumentConversionContext<T> conversionContext)
get
in interface io.micronaut.core.value.ValueResolver<java.lang.CharSequence>
public java.util.Collection<io.micronaut.http.cookie.Cookie> values()
values
in interface io.micronaut.core.convert.value.ConvertibleValues<io.micronaut.http.cookie.Cookie>