|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Used by the IContentFetchingService as a container for all of the required
properties for openning the connection and requesting the content
| Method Summary | |
void |
addRequestParameter(javax.naming.directory.Attribute requestParameter)
add a url parameter to the request |
void |
collectCookies(com.sapportals.portal.prt.component.IPortalComponentRequest request)
Use to request the IPackageInformation to collect the cookies from the request |
void |
collectHeaders(com.sapportals.portal.prt.component.IPortalComponentRequest request)
Use this method to colelct all of the request headers from the Portal Request, and let the package to manipulate the headers to fit the service needs This method overrides any prior setHeader() calls, so if need, it should be called before the setHeader() |
void |
forceReload(boolean forceReload)
not supported at this stage |
void |
setAutoRefresh(boolean enable,
long refreshInterval)
control automatic refresh of the iView. |
void |
setCacheExpirationTimeout(long timeout)
Set the cache expiration timeout of the content in the cache |
void |
setCachingLevel(java.lang.String cachingLevel)
set the caching level of the package |
void |
setConnectionTimeout(long timeout)
Set the amount of time the server should wait for the connection to finish |
void |
setContextName(java.lang.String contextName)
set the context name of the component that uses the service. |
void |
setCookie(javax.servlet.http.Cookie cookie)
Set a cookie to use in the request. |
void |
setCookieAuthentication(javax.servlet.http.Cookie authCookie)
Deprecated. Please use the setCookie(Cookie cookie) method instead for setting the cookie and use the setSimpleAuthenticationMode with Authentication Mode SAP_COOKIE |
void |
setEnableClientSideCaching(boolean enable)
Enable or disable the use of client side caching. |
void |
setFullProxyMode(boolean fullProxyMode,
boolean tunnelActivationRequired)
Notify the fething service that this request should be made in a full proxy mode - all consequent request must also pass through the fetching service. |
void |
setHeader(java.lang.String name,
java.lang.String value)
Set a request header. |
void |
setIHTMLProcessor(IHTMLProcessor htmlProcessor,
boolean recursiveProcessing)
This method is used to set a processor for HTML pages. |
void |
setLocale(java.util.Locale locale)
Set the Locale for this request |
void |
setOverrideBackEndCacheControl(boolean override)
Set whether the content fetching service should overrider the client-side (browser) cache control directive or not. |
void |
setParseContent(boolean parse)
This method is used to indicate to the service whether to parse the response. |
void |
setPortalDomain(java.lang.String portalDomain)
Use to configure the Portal domain, if the request is not used for fetching the data. |
void |
setPortalUserId(java.lang.String portalUserId)
Set the current portal user Id. |
void |
setPostBody(java.lang.String postBody)
Set the POST body for the request if required. |
void |
setRequestParameters(javax.naming.directory.Attribute[] requestParameters)
Set an array of Attribute objects that represent the request parameters that should be forwarded to the server. |
void |
setRequestParameters(javax.naming.directory.Attributes requestParameters)
Set a full collection of url paramerters that will be added to the request. |
void |
setSimpleAuthenticationMode(AuthenticationMode authenticationMode,
java.lang.String userId,
java.lang.String password)
Set the authentication mode to use for this request. |
void |
setUMAuthentication(AuthenticationMode authenticationMode,
java.lang.String systemId,
java.lang.Object userObj)
Not supported at this stage |
void |
setURL(java.lang.String method,
java.lang.String URL)
Set the method of the request (GET, POST) and the URL that should be requested |
void |
setUserAgent(java.lang.String useragent)
Set the user agent (browser type) used for the request |
| Method Detail |
public void setURL(java.lang.String method,
java.lang.String URL)
method - URL - public void setPostBody(java.lang.String postBody)
postBody -
public void setHeader(java.lang.String name,
java.lang.String value)
name - The name of the header to setvalue - public void collectHeaders(com.sapportals.portal.prt.component.IPortalComponentRequest request)
request - the Portal requestpublic void setUserAgent(java.lang.String useragent)
useragent - public void setConnectionTimeout(long timeout)
timeout - public void setCacheExpirationTimeout(long timeout)
timeout - public void setLocale(java.util.Locale locale)
locale -
public void setSimpleAuthenticationMode(AuthenticationMode authenticationMode,
java.lang.String userId,
java.lang.String password)
AuthenticationMode obect to set the authentication/authenticationMode - userId - password -
public void setUMAuthentication(AuthenticationMode authenticationMode,
java.lang.String systemId,
java.lang.Object userObj)
authenticationMode - systemId - userObj - public void setCookieAuthentication(javax.servlet.http.Cookie authCookie)
authCookie - public void setCookie(javax.servlet.http.Cookie cookie)
cookie - the cookie to addpublic void collectCookies(com.sapportals.portal.prt.component.IPortalComponentRequest request)
request - public void setPortalDomain(java.lang.String portalDomain)
portalDomain - public void forceReload(boolean forceReload)
forceReload - public void setContextName(java.lang.String contextName)
contextName - public void addRequestParameter(javax.naming.directory.Attribute requestParameter)
requestParameter - public void setRequestParameters(javax.naming.directory.Attribute[] requestParameters)
requestParameters - Array of Attribute objects, each representing a parameter which will be added to the requestpublic void setRequestParameters(javax.naming.directory.Attributes requestParameters)
requestParameters - public void setCachingLevel(java.lang.String cachingLevel)
cachingLevel - possible values: NONE, Shared, User and so onpublic void setParseContent(boolean parse)
parse - a boolean value indicating whether to parse the content or not.public void setEnableClientSideCaching(boolean enable)
enable - public void setOverrideBackEndCacheControl(boolean override)
override -
public void setIHTMLProcessor(IHTMLProcessor htmlProcessor,
boolean recursiveProcessing)
htmlProcessor - The IHTMLProcessor implementationrecursiveProcessing - boolean to indicate if the HTML processing should run also on sub content (if available).
public void setFullProxyMode(boolean fullProxyMode,
boolean tunnelActivationRequired)
fullProxyMode - tunnelActivationRequired -
public void setAutoRefresh(boolean enable,
long refreshInterval)
enable - boolean value to set if the automatic refrehs is enabled or notrefreshInterval - interval in seconds between each refreshpublic void setPortalUserId(java.lang.String portalUserId)
portalUserId -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||