public class RemoveSessionFromUrlFilter
extends java.lang.Object
implements javax.servlet.Filter
Constructor and Description |
---|
RemoveSessionFromUrlFilter() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
Filters requests to remove URL-based session identifiers.
|
void |
init(javax.servlet.FilterConfig config) |
protected boolean |
isRequestedSessionIdFromURL(javax.servlet.http.HttpServletRequest servletRequest)
Detects if session ID exist in the URL.
|
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws java.io.IOException, javax.servlet.ServletException
doFilter
in interface javax.servlet.Filter
java.io.IOException
javax.servlet.ServletException
protected boolean isRequestedSessionIdFromURL(javax.servlet.http.HttpServletRequest servletRequest)
servletRequest.isRequestedSessionIdFromURL()
.public void init(javax.servlet.FilterConfig config)
init
in interface javax.servlet.Filter
public void destroy()
destroy
in interface javax.servlet.Filter
Copyright © 2003-present Jodd Team