org.jboss.resteasy.plugins.server.servlet
Class FilterDispatcher
java.lang.Object
org.jboss.resteasy.plugins.server.servlet.FilterDispatcher
- All Implemented Interfaces:
- javax.servlet.Filter, HttpRequestFactory, HttpResponseFactory
- Direct Known Subclasses:
- Filter30Dispatcher
public class FilterDispatcher
- extends java.lang.Object
- implements javax.servlet.Filter, HttpRequestFactory, HttpResponseFactory
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
servletContainerDispatcher
protected ServletContainerDispatcher servletContainerDispatcher
FilterDispatcher
public FilterDispatcher()
getDispatcher
public Dispatcher getDispatcher()
init
public void init(javax.servlet.FilterConfig servletConfig)
throws javax.servlet.ServletException
- Specified by:
init
in interface javax.servlet.Filter
- Throws:
javax.servlet.ServletException
createResteasyHttpRequest
public HttpRequest createResteasyHttpRequest(java.lang.String httpMethod,
javax.servlet.http.HttpServletRequest request,
HttpHeaders headers,
UriInfoImpl uriInfo,
HttpResponse theResponse,
javax.servlet.http.HttpServletResponse response)
- Specified by:
createResteasyHttpRequest
in interface HttpRequestFactory
createResteasyHttpResponse
public HttpResponse createResteasyHttpResponse(javax.servlet.http.HttpServletResponse response)
- Specified by:
createResteasyHttpResponse
in interface HttpResponseFactory
doFilter
public void doFilter(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse,
javax.servlet.FilterChain filterChain)
throws java.io.IOException,
javax.servlet.ServletException
- Specified by:
doFilter
in interface javax.servlet.Filter
- Throws:
java.io.IOException
javax.servlet.ServletException
destroy
public void destroy()
- Specified by:
destroy
in interface javax.servlet.Filter
Copyright © 2010. All Rights Reserved.