public class HeaderRequestGuestTokenResolver extends Object implements RequestGuestTokenResolver
Modifier and Type | Field and Description |
---|---|
protected static String |
DEFAULT_HEADER_GUEST_TOKEN |
Constructor and Description |
---|
HeaderRequestGuestTokenResolver() |
Modifier and Type | Method and Description |
---|---|
protected String |
getHeaderName()
Gets the header name to check for the guest token
|
Optional<String> |
resolveGuestToken(javax.servlet.http.HttpServletRequest request)
Attempts to resolve a guest token string for the given request.
|
protected static final String DEFAULT_HEADER_GUEST_TOKEN
public Optional<String> resolveGuestToken(javax.servlet.http.HttpServletRequest request)
RequestGuestTokenResolver
resolveGuestToken
in interface RequestGuestTokenResolver
request
- the requestprotected String getHeaderName()
Copyright © 2021. All rights reserved.