|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.syndication.server.transport.http.HttpTransProtocolManager
This implementation of the OSSTransProtocolManager relies on the facilities
of the HttpServletRequest
and HttpServletResponse
classes.
Constructor Summary |
HttpTransProtocolManager()
used by the requestor |
HttpTransProtocolManager(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
This instance of the OSSTransProtocolManager is created using an HttpServletRequest and an HttpServletResponse . |
Method Summary |
Type | Method |
---|---|
static void |
augment(org.w3c.dom.Document doc,
java.lang.String szURL)
Augments a DOM Document by adding another layer above called ice-push-package with an attribute called push-url whose value we set. |
void |
destroy()
This allows clean up of the transport layer. |
boolean |
isPushing()
Tells if we are pushing |
static void |
main(java.lang.String[] args)
|
OSSRequest |
readRequest()
This method reads a request from a transport layer |
OSSResponse |
sendRequest(HTTPClient.URI destURI,
OSSRequest req)
This method is used for the syndication entity ( Server: PUSH or Broadcasting; Client: Send request ) |
void |
setPushing(oracle.ds.driver.DSConnection dsConn,
java.lang.String szSubscriberURL)
This lets us know that we have a sink for writing to Dynamic Services. |
void |
setRequestAsReader(java.io.Reader rd)
|
void |
setResponseWriter(java.io.PrintWriter pw)
|
void |
writeResponse(OSSResponse resp)
This method represents the functionality to write to a sink whatever messages are to be written. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public HttpTransProtocolManager(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws java.io.IOException
HttpServletRequest
and an HttpServletResponse
.public HttpTransProtocolManager()
Method Detail |
public void setPushing(oracle.ds.driver.DSConnection dsConn, java.lang.String szSubscriberURL)
public boolean isPushing()
public static void main(java.lang.String[] args) throws java.lang.Exception
public static void augment(org.w3c.dom.Document doc, java.lang.String szURL)
public void writeResponse(OSSResponse resp) throws java.io.IOException
public OSSRequest readRequest()
public OSSResponse sendRequest(HTTPClient.URI destURI, OSSRequest req) throws OSSException
public void destroy() throws java.io.IOException
public void setRequestAsReader(java.io.Reader rd)
public void setResponseWriter(java.io.PrintWriter pw)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |