public abstract class AbstractGatewayFilter extends Object implements javax.servlet.Filter
| Modifier and Type | Field and Description |
|---|---|
static String |
SOURCE_REQUEST_CONTEXT_URL_ATTRIBUTE_NAME |
static String |
SOURCE_REQUEST_URL_ATTRIBUTE_NAME |
static String |
TARGET_REQUEST_URL_ATTRIBUTE_NAME |
static String |
TARGET_SERVICE_ROLE |
| Constructor and Description |
|---|
AbstractGatewayFilter() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
protected abstract void |
doFilter(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain) |
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain) |
protected javax.servlet.FilterConfig |
getConfig() |
void |
init(javax.servlet.FilterConfig filterConfig) |
public static final String SOURCE_REQUEST_URL_ATTRIBUTE_NAME
public static final String TARGET_REQUEST_URL_ATTRIBUTE_NAME
public static final String SOURCE_REQUEST_CONTEXT_URL_ATTRIBUTE_NAME
public static final String TARGET_SERVICE_ROLE
public void init(javax.servlet.FilterConfig filterConfig)
throws javax.servlet.ServletException
init in interface javax.servlet.Filterjavax.servlet.ServletExceptionprotected javax.servlet.FilterConfig getConfig()
public void doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
throws IOException,
javax.servlet.ServletException
doFilter in interface javax.servlet.FilterIOExceptionjavax.servlet.ServletExceptionprotected abstract void doFilter(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain)
throws IOException,
javax.servlet.ServletException
IOExceptionjavax.servlet.ServletExceptionpublic void destroy()
destroy in interface javax.servlet.FilterCopyright © 2022 The Apache Software Foundation. All rights reserved.