public class FilterDispatcher extends Object implements javax.servlet.Filter, HttpRequestFactory, HttpResponseFactory
Modifier and Type | Field and Description |
---|---|
protected ServletContainerDispatcher |
servletContainerDispatcher |
protected javax.servlet.ServletContext |
servletContext |
Constructor and Description |
---|
FilterDispatcher() |
Modifier and Type | Method and Description |
---|---|
HttpRequest |
createResteasyHttpRequest(String httpMethod,
javax.servlet.http.HttpServletRequest request,
ResteasyHttpHeaders headers,
ResteasyUriInfo uriInfo,
HttpResponse theResponse,
javax.servlet.http.HttpServletResponse response) |
HttpResponse |
createResteasyHttpResponse(javax.servlet.http.HttpServletResponse response) |
void |
destroy() |
void |
doFilter(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse,
javax.servlet.FilterChain filterChain) |
Dispatcher |
getDispatcher() |
void |
init(javax.servlet.FilterConfig servletConfig) |
protected ServletContainerDispatcher servletContainerDispatcher
protected javax.servlet.ServletContext servletContext
public Dispatcher getDispatcher()
public void init(javax.servlet.FilterConfig servletConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
javax.servlet.ServletException
public HttpRequest createResteasyHttpRequest(String httpMethod, javax.servlet.http.HttpServletRequest request, ResteasyHttpHeaders headers, ResteasyUriInfo uriInfo, HttpResponse theResponse, javax.servlet.http.HttpServletResponse response)
createResteasyHttpRequest
in interface HttpRequestFactory
public HttpResponse createResteasyHttpResponse(javax.servlet.http.HttpServletResponse response)
createResteasyHttpResponse
in interface HttpResponseFactory
public void doFilter(javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse, 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 © 2014. All Rights Reserved.