info.magnolia.cms.filters
Class InterceptFilter

java.lang.Object
  extended by info.magnolia.cms.filters.AbstractMgnlFilter
      extended by info.magnolia.cms.filters.InterceptFilter
All Implemented Interfaces:
MgnlFilter, javax.servlet.Filter

Deprecated. since 5.1. This class is no longer used as part of its job is now done by the page editor and part by the MultiChannelFilter.

@Deprecated
public class InterceptFilter
extends AbstractMgnlFilter

Handle intercepted administrative requests.


Field Summary
static String INTERCEPT
          Deprecated. Request parameter: the INTERCEPT holds the name of an administrative action to perform.
static String MGNL_PREVIEW_ATTRIBUTE
          Deprecated. Attribute used for enabling the preview mode.
static String PARAM_PATH
          Deprecated. request parameter: node path, used for paragraph deletion.
static String PARAM_REPOSITORY
          Deprecated. request parameter: repository name.
 
Constructor Summary
InterceptFilter()
          Deprecated.  
 
Method Summary
 void doFilter(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, javax.servlet.FilterChain chain)
          Deprecated.  
 void intercept(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Deprecated. Request and Response here is same as received by the original page so it includes all post/get data.
protected  boolean previewMode()
          Deprecated.  
 
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, setBypasses, setDispatching, setEnabled, setMappings, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INTERCEPT

public static final String INTERCEPT
Deprecated. 
Request parameter: the INTERCEPT holds the name of an administrative action to perform.

See Also:
Constant Field Values

PARAM_REPOSITORY

public static final String PARAM_REPOSITORY
Deprecated. 
request parameter: repository name.

See Also:
Constant Field Values

PARAM_PATH

public static final String PARAM_PATH
Deprecated. 
request parameter: node path, used for paragraph deletion.

See Also:
Constant Field Values

MGNL_PREVIEW_ATTRIBUTE

public static final String MGNL_PREVIEW_ATTRIBUTE
Deprecated. 
Attribute used for enabling the preview mode.

See Also:
Constant Field Values
Constructor Detail

InterceptFilter

public InterceptFilter()
Deprecated. 
Method Detail

doFilter

public void doFilter(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response,
                     javax.servlet.FilterChain chain)
              throws IOException,
                     javax.servlet.ServletException
Deprecated. 
Specified by:
doFilter in class AbstractMgnlFilter
Throws:
IOException
javax.servlet.ServletException

previewMode

protected boolean previewMode()
Deprecated. 

intercept

public void intercept(javax.servlet.http.HttpServletRequest request,
                      javax.servlet.http.HttpServletResponse response)
               throws javax.jcr.LoginException,
                      javax.jcr.RepositoryException
Deprecated. 
Request and Response here is same as received by the original page so it includes all post/get data. Sub action could be called from here once this action finishes, it will continue loading the requested page.

Throws:
javax.jcr.LoginException
javax.jcr.RepositoryException


Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.