|
SAP NetWeaver 7.31 Enterprise Portal (SP 16) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IHTTPService
Title: Extension of the IHTTP interface.
Description: Contains information about ssl properties.
Copyright: Copyright (c) 2002
Company: SAP Ra'anana Israel.
| Field Summary | |
|---|---|
static String |
KEY
|
static String |
NO_VALUE
|
static String |
USER_AGENT_IE_5
|
static String |
USER_AGENT_KEY
|
| Method Summary | |
|---|---|
void |
getPageInResponse(String url,
IPortalComponentResponse response)
Deprecated. |
String |
getPageInString(String url)
Deprecated. |
String |
getSSLContentAsText(String url,
String method,
String[] reqPropertiesKeys,
String[] reqPropertiesVals,
boolean allowCookies,
boolean allowRedirect,
boolean usecaches,
long ifModifiedSince,
String basicAuthenticatedUserName,
String basicAuthenticatedPassword,
boolean ssl)
Deprecated. |
Properties |
getSSLProperties()
Returns the SSL properties as configured and loaded by the portal service. |
| Methods inherited from interface com.sapportals.portal.ivs.http.IHTTP |
|---|
getContentAsText, getContentAsText |
| Methods inherited from interface com.sapportals.portal.prt.service.IService |
|---|
afterInit, configure, destroy, getContext, getKey, init, release |
| Field Detail |
|---|
static final String KEY
static final String USER_AGENT_KEY
static final String USER_AGENT_IE_5
static final String NO_VALUE
| Method Detail |
|---|
String getSSLContentAsText(String url,
String method,
String[] reqPropertiesKeys,
String[] reqPropertiesVals,
boolean allowCookies,
boolean allowRedirect,
boolean usecaches,
long ifModifiedSince,
String basicAuthenticatedUserName,
String basicAuthenticatedPassword,
boolean ssl)
This method only return text as content type.
url - The URL represents the remote object on the World Wide Web
from which the content was retrieved from.method - The method to use in the url request. (GET,POST,PUT etc).
The default (if null is retrieved) is GET.reqPropertiesKeys - The general request properties keys.reqPropertiesVals - The general request properties values.
NOTE!! that the reqPropertiesKeys.length and reqPropertiesVals.length
must be equal or an IllegalArgumentException will be thrown.allowCookies - If true will allow cookies to be stored. If false,
will block all cookies.allowRedirect - If true will allow redirection. If false,
will get the empty page.usecaches - a boolean indicating whether or not to allow caching.
Some protocols do caching of documents. Occasionally, it is important
to be able to "tunnel through" and ignore the caches (e.g., the "reload" button
in a browser). If the UseCaches flag on a connection is true,
the connection is allowed to use whatever caches it can.
If false, caches are to be ignored. The default value defaults to true.ifModifiedSince - some protocols support skipping the fetching of the object unless the object
has been modified more recently than a certain time.
A nonzero value gives a time as the number of milliseconds since January 1, 1970, GMT.
The object is fetched only if it has been modified more recently than that time.
The default value of this field is 0, indicating that the fetching must always occur.basicAuthenticatedUserName - If basic authentication in the target web site
is needed, the value will be the user name required.basicAuthenticatedPassword - If basic authentication in the target web site
is needed, the value will be the password required.
Note!! null value in one or two params: basicAuthenticatedUserName or basicAuthenticatedPassword
will ignore any basic authentication.
IOException - if an I/O error occurs while
getting the content.
UnknownServiceException - if the content type isn't text.URLConnection.getContent(Class[] classes),
URLConnection.setRequestProperty(String key,String value),
URLConnection.setUseCaches(boolean usecaches),
URLConnection.setIfModifiedSince(long ifmodifiedsince)
void getPageInResponse(String url,
IPortalComponentResponse response)
url - response - String getPageInString(String url)
url -
Properties getSSLProperties()
| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] EP-RUNTIME
|
[sap.com] tc/ep/connectivity/services/api
|
api
|
EP-PIN
|
|
SAP NetWeaver 7.31 Enterprise Portal (SP 16) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||