info.magnolia.cms.filters
Interface SelfMappingServlet
public interface SelfMappingServlet
An optional interface that servlets wrapped by ServletDispatchingFilter
can implement, to provide their own
mapping. When implementing this method, the Servlet can get the mapping from any arbitrary component. Which means
the mapping can be configured centrally and re-used by other components (typically to generate links).
getSelfMappingPath
String getSelfMappingPath()
- Returns a Servlet mapping path ("/foo" or "/foo/*" are typical examples).
- See Also:
Mapping.addMapping(java.lang.String)
Copyright © 2003-2014 Magnolia International Ltd.. All Rights Reserved.