| Package | Description |
|---|---|
| com.sapportals.wcm.util.urlcontentaccess |
Package Specification
Purpose
The URLContentAccess utility handles the content transfer for external resources for HTTP and FTP protocols.
|
| Modifier and Type | Method and Description |
|---|---|
static IURLContentAccess |
URLContentAccess.getInstance()
Returns a reference to the single instance.
|
IURLContent |
URLContentAccess.readContent(String url,
boolean useCache)
Read content
|
IURLContent |
IURLContentAccess.readContent(String url,
boolean useCache)
Read the content for a URL resource.
|
IURLContent |
URLContentAccess.readContent(String cacheID,
String url,
boolean useCache)
Read the content for a URL resource.
|
IURLContent |
IURLContentAccess.readContent(String cacheID,
String url,
boolean useCache)
Read the content for a URL resource.
|
void |
URLContentAccess.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
|
void |
IURLContentAccess.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
|
void |
URLContent.writeTo(OutputStream out)
Writes the content to the specified output.
|
void |
IURLContent.writeTo(OutputStream out)
Writes the content to the output stream.
|
Copyright 2021 SAP SE Complete Copyright Notice