public class XsrfHttpRequestInterceptor extends Object implements org.apache.http.HttpRequestInterceptor
Constructor and Description |
---|
XsrfHttpRequestInterceptor() |
Modifier and Type | Method and Description |
---|---|
static void |
enableHeaderInjection(boolean enabled) |
void |
process(org.apache.http.HttpRequest httpRequest,
org.apache.http.protocol.HttpContext httpContext) |
public static void enableHeaderInjection(boolean enabled)
public void process(org.apache.http.HttpRequest httpRequest, org.apache.http.protocol.HttpContext httpContext) throws org.apache.http.HttpException, IOException
process
in interface org.apache.http.HttpRequestInterceptor
org.apache.http.HttpException
IOException
Copyright © 2019 The Apache Software Foundation. All rights reserved.