Package org.bpsbits.kt.rest.utils.crc
Class CrcKt
-
- All Implemented Interfaces:
public final class CrcKt
-
-
Field Summary
Fields Modifier and Type Field Description private final static StringtomcatSessionIdprivate final static StringphpSessionIdprivate final static BooleanisSSLprivate final static StringidentityToken
-
Method Summary
Modifier and Type Method Description final StringgetTomcatSessionId()final StringgetPhpSessionId()final BooleangetIsSSL()final StringgetIdentityToken()final static StringcookieValue(ContainerRequestContext $self, String cookieName)Extracts cookie value. final static StringheaderValue(ContainerRequestContext $self, String headerName)Extracts header value. -
-
Method Detail
-
getTomcatSessionId
final String getTomcatSessionId()
-
getPhpSessionId
final String getPhpSessionId()
-
getIdentityToken
final String getIdentityToken()
-
cookieValue
final static String cookieValue(ContainerRequestContext $self, String cookieName)
Extracts cookie value.
- Parameters:
cookieName- Name of the cookie.- Returns:
Value of given cookie or an empty string if not found.
-
headerValue
final static String headerValue(ContainerRequestContext $self, String headerName)
Extracts header value.
- Parameters:
headerName- Name of the header.- Returns:
Value of given header or an empty string if not found.
-
-
-
-