public class XSRFHooks extends PostRequestHookHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
COOKIE_NAME |
static String |
HEADER_NAME |
| Constructor and Description |
|---|
XSRFHooks() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
checkXsrfAllowed(StRequest request,
RestEndpointBase endpoint) |
void |
handleRequest(StRequest request,
StResponse response) |
static void |
register() |
handlepublic static final String COOKIE_NAME
public static final String HEADER_NAME
public XSRFHooks()
public static boolean checkXsrfAllowed(StRequest request, RestEndpointBase endpoint)
public static void register()
public void handleRequest(StRequest request, StResponse response)
handleRequest in class PostRequestHookHandlerCopyright © 2016. All rights reserved.