|
Oracle Application Server Web Clipping API Reference 10g (9.0.4) B10912-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.webclipping.bean.WebClippingConnection
This class is the starting point of all communication channels from your Java client to the Web Clipping Server. It allows opening of an HTTP connection to the server and then allows the execution given a Web Clipping request object based on that connection, returning a Web Clipping Response.
Field Summary |
Fields inherited from interface oracle.webclipping.bean.WebClippingExceptionConstants |
APPLICATION_ERROR, CANNOT_OPENSTREAM, INTERNAL_ERROR, INVALID_PROTOCOL, INVALID_URL |
Constructor Summary | |
WebClippingConnection(java.lang.String url) Constructs a connection with the Web Clipping Server by passing in a connection url. |
Method Summary | |
WebClippingResponse |
execute(WebClippingRequest request) Heart of the operation; this calls out using HTTP to the Web Clipping Server to execute the Web Clipping and return its responses. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WebClippingConnection(java.lang.String url) throws WebClippingException
url
- The String version of the URLHTTPClient.ParseException
- When the passed in URL is not a valid oneHTTPClient.ProtocolNotSuppException
- When the passed in scheme is not a protocol that is supported by the HTTP handling engine. The current supported ones are http, https, and shttpWebClippingException
Method Detail |
public WebClippingResponse execute(WebClippingRequest request) throws WebClippingException
request
- The request that holds all the needed parametersWebClippingException
|
Oracle Application Server Web Clipping API Reference 10g (9.0.4) B10912-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |