|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.justobjects.pushlet.core.XMLAdapter
ClientAdapter that sends Events as XML.
| Field Summary | |
private java.lang.String |
contentType
Header for strict XML |
private javax.servlet.ServletOutputStream |
out
|
private javax.servlet.http.HttpServletResponse |
servletRsp
|
private boolean |
strictXML
|
| Constructor Summary | |
XMLAdapter(javax.servlet.http.HttpServletResponse aServletResponse)
Initialize. |
|
XMLAdapter(javax.servlet.http.HttpServletResponse aServletResponse,
boolean useStrictXML)
Initialize. |
|
| Method Summary | |
private void |
debug(java.lang.String s)
|
void |
push(Event anEvent)
Force client to refresh the request. |
void |
start()
Start event push. |
void |
stop()
No action. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private java.lang.String contentType
private javax.servlet.ServletOutputStream out
private javax.servlet.http.HttpServletResponse servletRsp
private boolean strictXML
| Constructor Detail |
public XMLAdapter(javax.servlet.http.HttpServletResponse aServletResponse)
public XMLAdapter(javax.servlet.http.HttpServletResponse aServletResponse,
boolean useStrictXML)
| Method Detail |
public void start()
throws java.io.IOException
ClientAdapter
start in interface ClientAdapterjava.io.IOException
public void push(Event anEvent)
throws java.io.IOException
push in interface ClientAdapterjava.io.IOException
public void stop()
throws java.io.IOException
stop in interface ClientAdapterjava.io.IOExceptionprivate void debug(java.lang.String s)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||