public interface PerInstanceCookieStore
Instance.| Modifier and Type | Method and Description |
|---|---|
void |
cleanupInstance(InstanceId instanceId)
Informs the store that the cookies of the given
instanceId could be
removed. |
org.springframework.util.MultiValueMap<String,String> |
get(InstanceId instanceId,
URI requestUri,
org.springframework.util.MultiValueMap<String,String> requestHeaders)
Gets all the applicable cookies (cookie name => string representation of cookie)
for the given
instanceId and the specified uri in the request header. |
void |
put(InstanceId instanceId,
URI requestUri,
org.springframework.util.MultiValueMap<String,String> responseHeaders)
Stores all the applicable cookies (examples are response header fields that are
named
Set-Cookie) present in the response headers. |
org.springframework.util.MultiValueMap<String,String> get(InstanceId instanceId, URI requestUri, org.springframework.util.MultiValueMap<String,String> requestHeaders)
instanceId and the specified uri in the request header.
The URI passed as an argument specifies the intended use for the cookies.instanceId - identifies the web client instancerequestUri - a URI representing the intended use for the cookiesrequestHeaders - a Map from request header field names to lists of field
values representing the current requestvoid put(InstanceId instanceId, URI requestUri, org.springframework.util.MultiValueMap<String,String> responseHeaders)
Set-Cookie) present in the response headers.instanceId - identifies the web client instancerequestUri - an URI where the cookies come fromresponseHeaders - a map from field names to lists of field values representing
the response header fieldsvoid cleanupInstance(InstanceId instanceId)
instanceId could be
removed.instanceId - identifies the InstanceCopyright © 2022 codecentric AG. All rights reserved.