|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.cocoon.util.AbstractLogEnabled org.apache.cocoon.servlet.RequestProcessor
This is the entry point for Cocoon execution as an HTTP Servlet.
Field Summary | |
protected BeanFactory |
cocoonBeanFactory
Root Cocoon Bean Factory. |
protected String |
containerEncoding
Configured servlet container encoding. |
protected org.apache.cocoon.environment.Context |
environmentContext
Cocoon environment context. |
protected static String |
PROCESSED_BY
|
protected org.apache.cocoon.Processor |
processor
The processor. |
protected RequestListener |
requestListener
An optional component that is called before and after processing all requests. |
protected ServletContext |
servletContext
The servlet context. |
protected ServletSettings |
servletSettings
The special servlet settings. |
protected org.apache.cocoon.configuration.Settings |
settings
The root settings. |
Constructor Summary | |
RequestProcessor(ServletContext servletContext)
|
Method Summary | |
protected org.apache.cocoon.environment.Environment |
getEnvironment(String uri,
HttpServletRequest req,
HttpServletResponse res)
Create the environment for the request |
protected org.apache.cocoon.Processor |
getProcessor()
|
protected String |
getURI(HttpServletRequest request,
HttpServletResponse res)
|
protected boolean |
process(org.apache.cocoon.environment.Environment environment)
|
protected boolean |
rethrowExceptions()
|
void |
service(HttpServletRequest request,
HttpServletResponse res)
Process the specified HttpServletRequest producing output
on the specified HttpServletResponse . |
Methods inherited from class org.apache.cocoon.util.AbstractLogEnabled |
getLogger, setLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final String PROCESSED_BY
protected final ServletContext servletContext
protected final org.apache.cocoon.environment.Context environmentContext
protected final String containerEncoding
protected final BeanFactory cocoonBeanFactory
protected final org.apache.cocoon.configuration.Settings settings
protected final ServletSettings servletSettings
protected org.apache.cocoon.Processor processor
protected RequestListener requestListener
Constructor Detail |
public RequestProcessor(ServletContext servletContext)
Method Detail |
protected org.apache.cocoon.Processor getProcessor()
protected boolean rethrowExceptions()
public void service(HttpServletRequest request, HttpServletResponse res) throws ServletException, IOException
HttpServletRequest
producing output
on the specified HttpServletResponse
.
ServletException
IOException
protected String getURI(HttpServletRequest request, HttpServletResponse res) throws IOException
IOException
protected org.apache.cocoon.environment.Environment getEnvironment(String uri, HttpServletRequest req, HttpServletResponse res) throws Exception
Exception
protected boolean process(org.apache.cocoon.environment.Environment environment) throws Exception
Exception
Processor.process(org.apache.cocoon.environment.Environment)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |