public interface IRequesterFactory
For efficient reuse of requester, it is best to acquire the IWDContext objects through the factory interface. At the moment there is only support for user/password Authorization in this interface.
Copyright (c) SAP AG 2001-2002
Modifier and Type | Method and Description |
---|---|
String |
getAbsoluteURL(String uri) |
HttpUrl |
getBase() |
IContext |
getContext(Object key) |
int |
getPort() |
IRequester |
getRequester(IContext context) |
int |
getSoTimeout()
Returns the timeout used for socket operations.
|
void |
setBaseURL(String url)
Set the base URL for this factory.
|
void |
setMaxConnections(int max)
Set the maximum number of concurrent connections.
|
void |
setProxyInfo(IProxyInfo info)
Sets the proxy information to use by this factory.
|
void |
setSoTimeout(int ms)
Sets the timeout for socket operations.
|
void |
shutdown()
Free up all resource used by this factory.
|
HttpUrl getBase()
int getPort()
String getAbsoluteURL(String uri)
uri
- TBD: Description of the incoming method parameterIContext getContext(Object key)
key
- TBD: Description of the incoming method parametervoid setBaseURL(String url) throws MalformedURLException
url
- baseURL to be setMalformedURLException
- Exception raised in failure
situationvoid setProxyInfo(IProxyInfo info)
info
- proxyInfo to be setIRequester getRequester(IContext context) throws WcmException
context
- needed for authorized connections or null
for
anonymous requestsWcmException
- Exception raised in failure situationint getSoTimeout()
void setSoTimeout(int ms)
ms
- soTimeout to be setvoid setMaxConnections(int max)
max
- maximum number of connectionsvoid shutdown()
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
|
Copyright 2018 SAP AG Complete Copyright Notice