|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IURLContentAccess
This interface provides access to resources that are identified by URLs. In particular it is used to access the SAP content server via HTTP.
| Method Summary | |
|---|---|
IURLContent |
readContent(String url,
boolean useCache)
Read the content for a URL resource. |
IURLContent |
readContent(String cacheID,
String url,
boolean useCache)
Read the content for a URL resource. |
void |
storeContent(String url,
InputStream data,
String mimeType,
long contentLength,
String fileName,
Properties httpHeaders,
Properties fileHeaders,
boolean useMimeMultipart,
String user,
String pass)
Store content on a HTTP Server |
| Method Detail |
|---|
IURLContent readContent(String url,
boolean useCache)
throws URLContentAccessException
url - A full URLuseCache - If the cache must be used
URLContentAccessException - Exception raised in failure situation
IURLContent readContent(String cacheID,
String url,
boolean useCache)
throws URLContentAccessException
useCache has no effect).
cacheID - The key to store/access the content in the cacheurl - A full URLuseCache - If the cache must be used
URLContentAccessException - Exception raised in failure situation
void storeContent(String url,
InputStream data,
String mimeType,
long contentLength,
String fileName,
Properties httpHeaders,
Properties fileHeaders,
boolean useMimeMultipart,
String user,
String pass)
throws URLContentAccessException
url - The URLdata - The data to sendmimeType - The content typecontentLength - The content lengthfileName - The file name, can be nullhttpHeaders - Additional HTTP header, can be nullfileHeaders - File header lines, can be nulluseMimeMultipart - true: send a mime multipart POST, false: PUT
requestuser - Username for HTTP BASIC authentication, can be nullpass - PAssword for HTTP BASIC authentication, can be null
URLContentAccessException - Exception raised in failure situation| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||