|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.arsdigita.cms.dispatcher.ResourceHandlerImpl
An interface for resources that can be served.
Field Summary | |
static String |
versionId
|
Constructor Summary | |
ResourceHandlerImpl()
|
Method Summary | |
void |
checkUserAccess(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
com.arsdigita.dispatcher.RequestContext actx,
ContentItem item)
|
abstract void |
dispatch(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
com.arsdigita.dispatcher.RequestContext actx)
Services this resource. |
ContentItem |
getContentItem(javax.servlet.http.HttpServletRequest request)
Fetch the request-local content item. |
ContentSection |
getContentSection(javax.servlet.http.HttpServletRequest request)
Fetch the request-local content section. |
void |
init()
This method is called by the Dispatcher
that initializes this page. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String versionId
Constructor Detail |
public ResourceHandlerImpl()
Method Detail |
public void init() throws javax.servlet.ServletException
Dispatcher
that initializes this page.
init
in interface ResourceHandler
javax.servlet.ServletException
public ContentSection getContentSection(javax.servlet.http.HttpServletRequest request)
getContentSection
in interface ResourceHandler
request
- The HTTP request
public ContentItem getContentItem(javax.servlet.http.HttpServletRequest request)
getContentItem
in interface ResourceHandler
request
- The HTTP request
public void checkUserAccess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, com.arsdigita.dispatcher.RequestContext actx, ContentItem item)
public abstract void dispatch(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, com.arsdigita.dispatcher.RequestContext actx) throws IOException, javax.servlet.ServletException
dispatch
in interface com.arsdigita.dispatcher.Dispatcher
request
- The servlet request objectresponse
- the servlet response objectactx
- The request context
IOException
javax.servlet.ServletException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |