|
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.WebClippingRequest
This class embodies the formal request that is made to a Web Clipping Server URL to execute a particular Web Clipping. In many ways it is similar to a regular HTTP request but the APIs provided here are more restrictive.
Field Summary |
Constructor Summary | |
WebClippingRequest(javax.servlet.http.HttpServletRequest request) Creates a Web Clipping Request from an HTTP Servlet Request, inheriting relevant header information. | |
WebClippingRequest(javax.servlet.http.HttpServletRequest request, int iClipId) Creates a Web Clipping Request from an HTTP Servlet Request, inheriting relevant header information, as well as a Clip Id as it was known at the time of construction. | |
WebClippingRequest(int iClipId) Constructor of the Web Clipping Request that takes in a Clip Id. |
Method Summary | |
void |
addHeader(java.lang.String headerName, java.lang.String headerValue) Allows manipulation of Web Clipping Headers. |
void |
addParam(java.lang.String paramName, java.lang.String paramValue) Allows manipulation of Web Clipping Parameters. |
void |
setClipId(int iClipId) Sets the Id of the Clip you wish to execute. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public WebClippingRequest(javax.servlet.http.HttpServletRequest request)
request
- The HTTP request object containing URL request parameters as well as headers that may give valuable contextual information to the Web Clipping Server.public WebClippingRequest(int iClipId)
iClipId
- The Id of the Clip you wish to execute. This can be changed dynamically for the duration of a request so that the same object can be re-used without having the caller have to create multiple instances of the request object.public WebClippingRequest(javax.servlet.http.HttpServletRequest request, int iClipId)
iClipId
- The Id of the Clip you wish to execute. This can be changed dynamically for the duration of a request so that the same object can be re-used without having the caller have to create multiple instances of the request object.request
- The HTTP request object containing URL request parameters as well as headers that may give valuable contextual information to the Web Clipping Server.Method Detail |
public void setClipId(int iClipId)
iClipId
- The Id of the Clip you wish to execute. This can be changed dynamically for the duration of a request so that the same object can be re-used without having the caller have to create multiple instances of the request object.public void addParam(java.lang.String paramName, java.lang.String paramValue)
paramName
- The name of the Parameter. This is the "User Friendly Name" that was used when the Web Clipping was being parameterized. Note: if the User Friendly Name has been altered, corresponding changes need to happen on the Client code.paramValue
- The value of the parameter. Usually, this is passed down to the web app that calls out to the Web Clipping Server.public void addHeader(java.lang.String headerName, java.lang.String headerValue)
headerName
- The name of the Header. This is the "User Friendly Name" that was used when the Web Clipping was being headerized. Note: if the User Friendly Name has been altered, corresponding changes need to happen on the Client code.headerValue
- The value of the header. Usually, this is passed down to the web app that calls out to the Web Clipping Server.WebClippingConstants
|
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 |