Class EditIncludeFilter
java.lang.Object
org.apache.sling.cms.core.internal.filters.EditIncludeFilter
- All Implemented Interfaces:
javax.servlet.Filter
Filter for injecting the request attributes and markup to enable the Sling
CMS editor.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEditIncludeFilter(org.osgi.service.component.ComponentContext context, I18NProvider provider) -
Method Summary
-
Field Details
-
ENABLED_ATTR_NAME
- See Also:
-
WRITE_DROP_TARGET_ATTR_NAME
- See Also:
-
ENTRY_BASE
- See Also:
-
-
Constructor Details
-
EditIncludeFilter
public EditIncludeFilter(org.osgi.service.component.ComponentContext context, I18NProvider provider) throws IOException - Throws:
IOException
-
-
Method Details
-
destroy
public void destroy()- Specified by:
destroyin interfacejavax.servlet.Filter
-
doFilter
public void doFilter(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, javax.servlet.FilterChain chain) throws IOException, javax.servlet.ServletException - Specified by:
doFilterin interfacejavax.servlet.Filter- Throws:
IOExceptionjavax.servlet.ServletException
-
init
public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException - Specified by:
initin interfacejavax.servlet.Filter- Throws:
javax.servlet.ServletException
-