|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object info.magnolia.cms.filters.AbstractMgnlFilter info.magnolia.cms.filters.InterceptFilter
public class InterceptFilter
Handle intercepted administrative requests.
Field Summary | |
---|---|
static String |
INTERCEPT
Request parameter: the INTERCEPT holds the name of an administrative action to perform. |
static String |
MGNL_PREVIEW_ATTRIBUTE
Attribute used for enabling the preview mode. |
static String |
PARAM_PATH
request parameter: node path, used for paragraph deletion. |
static String |
PARAM_REPOSITORY
request parameter: repository name. |
Constructor Summary | |
---|---|
InterceptFilter()
|
Method Summary | |
---|---|
void |
doFilter(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain)
|
void |
intercept(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Request and Response here is same as received by the original page so it includes all post/get data. |
protected boolean |
previewMode()
|
Methods inherited from class info.magnolia.cms.filters.AbstractMgnlFilter |
---|
acceptsEncoding, acceptsGzipEncoding, addAndVerifyHeader, addBypass, addMapping, bypasses, destroy, doFilter, getBypasses, getDispatching, getMapping, getMappings, getName, headerContains, init, isEnabled, mapsTo, matches, matchesDispatching, setDispatching, setEnabled, setName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String INTERCEPT
public static final String PARAM_REPOSITORY
public static final String PARAM_PATH
public static final String MGNL_PREVIEW_ATTRIBUTE
Constructor Detail |
---|
public InterceptFilter()
Method Detail |
---|
public void doFilter(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException
doFilter
in class AbstractMgnlFilter
IOException
javax.servlet.ServletException
protected boolean previewMode()
public void intercept(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.jcr.LoginException, javax.jcr.RepositoryException
javax.jcr.RepositoryException
javax.jcr.LoginException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |