|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zkoss.zk.au.http.AuDynaMediar
public class AuDynaMediar
The AU processor used to response the content for DynamicMedia.getMedia(java.lang.String)
Constructor Summary | |
---|---|
AuDynaMediar()
|
Method Summary | |
---|---|
void |
destroy()
Destroys the AU extension. |
void |
init(DHtmlUpdateServlet servlet)
Initializes the AU extension. |
void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String pi)
Retrieves the media from DynamicMedia.getMedia(java.lang.String) . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AuDynaMediar()
Method Detail |
---|
public void init(DHtmlUpdateServlet servlet)
AuExtension
DHtmlUpdateServlet
.
init
in interface AuExtension
public void destroy()
AuExtension
DHtmlUpdateServlet
,
or when DHtmlUpdateServlet
is being destroyed.
destroy
in interface AuExtension
public void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String pi) throws javax.servlet.ServletException, java.io.IOException
DynamicMedia.getMedia(java.lang.String)
.
service
in interface AuExtension
request
- the request (never null).response
- the response (never null).pi
- the path info. It includes the prefix when the Au processor
is associated (see DHtmlUpdateServlet.addAuExtension(org.zkoss.zk.ui.WebApp, java.lang.String, org.zkoss.zk.au.http.AuExtension)
.
For example, if an AU processor is associated with "/upload", then
pi must start with "/upload". Note: it might end with other string
depending on the URI you generated to the client.
javax.servlet.ServletException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |