Package de.bytestore.hostinger.handler
Class WebHandler
java.lang.Object
de.bytestore.hostinger.handler.WebHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.security.web.csrf.CsrfTokengetCSRFToken(jakarta.servlet.http.HttpServletRequest requestIO) Retrieves the CSRF token from the provided HttpServletRequest object.
-
Constructor Details
-
WebHandler
public WebHandler()
-
-
Method Details
-
getCSRFToken
public static org.springframework.security.web.csrf.CsrfToken getCSRFToken(jakarta.servlet.http.HttpServletRequest requestIO) Retrieves the CSRF token from the provided HttpServletRequest object.- Parameters:
requestIO- The HttpServletRequest object from which to retrieve the CSRF token.- Returns:
- The CSRF token.
-