|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Extendlet
A plugin of ClassWebResource
to process particular
content.
To add a resource processor to ClassWebResource
, use
ClassWebResource.addExtendlet(java.lang.String, org.zkoss.web.util.resource.Extendlet)
.
ClassWebResource.addExtendlet(java.lang.String, org.zkoss.web.util.resource.Extendlet)
Field Summary | |
---|---|
static int |
ALLOW_DIRECT_INCLUDE
Used with getFeature(int) to indicate the extendlet can
be included directly without going thru Web container. |
Method Summary | |
---|---|
boolean |
getFeature(int feature)
Returns if the specified feature is supported. |
void |
init(ExtendletConfig config)
Initializes the resource processor. |
void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String path)
Process the specified request. |
Field Detail |
---|
static final int ALLOW_DIRECT_INCLUDE
getFeature(int)
to indicate the extendlet can
be included directly without going thru Web container.
In other words, if getFeature(ALLOW_DIRECT_INCLUDE) is true
and a corresponding page is included, then service(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse, java.lang.String)
will be invoked directly (rather than calling RequestDispatcher's
include method.
Method Detail |
---|
void init(ExtendletConfig config)
boolean getFeature(int feature)
void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String path) throws javax.servlet.ServletException, java.io.IOException
path
- the path mapped to this resource processor.
javax.servlet.ServletException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |