org.codehaus.enunciate.webapp
Class WSDLRedirectFilter
java.lang.Object
org.codehaus.enunciate.webapp.WSDLRedirectFilter
- All Implemented Interfaces:
- javax.servlet.Filter
public class WSDLRedirectFilter
- extends java.lang.Object
- implements javax.servlet.Filter
Servlet filter that redirects all requests with ?wsdl appended to a specified location.
- Author:
- Ryan Heaton
|
Method Summary |
void |
destroy()
|
void |
doFilter(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse,
javax.servlet.FilterChain chain)
|
java.lang.String |
getWsdlLocation()
|
void |
init(javax.servlet.FilterConfig filterConfig)
|
void |
setWsdlLocation(java.lang.String wsdlLocation)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSDL_LOCATION_PARAM
public static final java.lang.String WSDL_LOCATION_PARAM
- See Also:
- Constant Field Values
WSDLRedirectFilter
public WSDLRedirectFilter()
init
public void init(javax.servlet.FilterConfig filterConfig)
throws javax.servlet.ServletException
- Specified by:
init in interface javax.servlet.Filter
- Throws:
javax.servlet.ServletException
doFilter
public void doFilter(javax.servlet.ServletRequest servletRequest,
javax.servlet.ServletResponse servletResponse,
javax.servlet.FilterChain chain)
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
getWsdlLocation
public java.lang.String getWsdlLocation()
setWsdlLocation
public void setWsdlLocation(java.lang.String wsdlLocation)