|
Oracle® Fusion Middleware Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.stellent.wcm.javaee.servlet.filter.WCMSiteFilter
public class WCMSiteFilter
Maps requests through the structure database
Nested Class Summary | |
---|---|
static class |
WCMSiteFilter.Action |
Field Summary | |
---|---|
static java.lang.String |
IGNORE_REQUEST |
static java.lang.String |
PARAM_EXCLUDE_BY_SITE_EXTENSION |
static java.lang.String |
PARAM_EXCLUDE_FILTER |
static java.lang.String |
REDIRECT_URL |
static java.lang.String |
SS_LINK |
static java.lang.String |
SS_NODE_LINK |
Constructor Summary | |
---|---|
WCMSiteFilter() |
Method Summary | |
---|---|
protected ServletRequestContext |
createRequestContext(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Create the request context object |
protected SiteContext |
createSiteContext(ServletRequestContext requestContext) Create the site context object |
void |
destroy() |
void |
doFilter(javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse, javax.servlet.FilterChain filterChain) |
protected WCMSiteFilter.Action |
getActionForRequest(ServletRequestContext requestContext) Examine the incoming request and determine if we should handle the request |
java.lang.String |
getEncoding() |
SimplePatternMatcher |
getExcludesFilter() |
java.lang.String |
getPublicDir() |
protected WCMSiteFilter.Action |
getSiteContextAction(ServletRequestContext requestContext, SiteContext siteContext) Check if the site context is valid |
ClientApplication |
getWcmApplication() |
protected void |
handlePageInvocation(ServletRequestContext requestContext) Invoke the page handler and handle the response |
protected boolean |
handleTokenizedLinks(ServletRequestContext servletRC) Process the filter for this command |
void |
init(javax.servlet.FilterConfig filterConfig) |
boolean |
isExcludeBySiteExtension() |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SS_LINK
public static final java.lang.String SS_NODE_LINK
public static final java.lang.String PARAM_EXCLUDE_FILTER
public static final java.lang.String PARAM_EXCLUDE_BY_SITE_EXTENSION
public static final java.lang.String IGNORE_REQUEST
public static final java.lang.String REDIRECT_URL
Constructor Detail |
---|
public WCMSiteFilter()
Method Detail |
---|
public ClientApplication getWcmApplication() throws ApplicationException
ApplicationException
public java.lang.String getPublicDir() throws ApplicationException
ApplicationException
public SimplePatternMatcher getExcludesFilter()
public java.lang.String getEncoding()
public boolean isExcludeBySiteExtension()
public void destroy()
destroy
in interface javax.servlet.Filter
public void init(javax.servlet.FilterConfig filterConfig) throws javax.servlet.ServletException
init
in interface javax.servlet.Filter
javax.servlet.ServletException
public void doFilter(javax.servlet.ServletRequest servletRequest, javax.servlet.ServletResponse servletResponse, javax.servlet.FilterChain filterChain) throws java.io.IOException, javax.servlet.ServletException
doFilter
in interface javax.servlet.Filter
java.io.IOException
javax.servlet.ServletException
protected WCMSiteFilter.Action getActionForRequest(ServletRequestContext requestContext) throws ApplicationException, java.io.IOException
requestContext
- the request contextApplicationException
java.io.IOException
protected SiteContext createSiteContext(ServletRequestContext requestContext) throws ApplicationException
requestContext
- the request contextApplicationException
protected WCMSiteFilter.Action getSiteContextAction(ServletRequestContext requestContext, SiteContext siteContext) throws ApplicationException, java.io.IOException
requestContext
- the request contextsiteContext
- the site contextApplicationException
java.io.IOException
protected ServletRequestContext createRequestContext(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
request
- the http requestresponse
- the http responseprotected void handlePageInvocation(ServletRequestContext requestContext) throws ApplicationException, java.io.IOException
requestContext
- the request contextApplicationException
java.io.IOException
protected boolean handleTokenizedLinks(ServletRequestContext servletRC) throws ApplicationException, java.io.IOException
servletRC
- the servlet requestApplicationException
java.io.IOException
|
Oracle® Fusion Middleware Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |