public class ThriftHttpFilter extends Object implements javax.servlet.Filter
Modifier and Type | Field and Description |
---|---|
protected static String |
ERROR_MESSAGE |
protected HiveConf |
hiveConf |
static org.slf4j.Logger |
LOG |
protected static String |
X_CSRF_TOKEN |
protected static String |
X_XSRF_HEADER |
Constructor and Description |
---|
ThriftHttpFilter(HiveConf hiveConf) |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain filterChain) |
void |
init(javax.servlet.FilterConfig filterConfig) |
public static final org.slf4j.Logger LOG
protected static final String X_CSRF_TOKEN
protected static final String X_XSRF_HEADER
protected static final String ERROR_MESSAGE
protected HiveConf hiveConf
public ThriftHttpFilter(HiveConf hiveConf)
public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
javax.servlet.ServletException
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain filterChain) throws IOException, javax.servlet.ServletException
doFilter
in interface javax.servlet.Filter
IOException
javax.servlet.ServletException
public void destroy()
destroy
in interface javax.servlet.Filter
Copyright © 2023 The Apache Software Foundation. All rights reserved.