public interface IRequester
Releasing a requester might make it available for further reuse. Closing a requester explicitly disallows reuse. This might be necessary when there is trouble with a request or, for example, when the response body needs to be discarded.
Note that requester objects are not multithread safe.
Copyright (c) SAP AG 2001-2002
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the requester and disallow reuse.
|
int |
getSoTimeout()
Returns the timeout used for socket operations.
|
IResponse |
perform(IRequest request)
Send a HTTP request to the remote server and deliver the response back to
the caller.
|
void |
release()
Release this requester and make it available for reuse.
|
void |
setSoTimeout(int ms)
Sets the timeout for socket operations.
|
IResponse perform(IRequest request) throws WcmException
request
- the HTTP request to performWcmException
- on trouble with connectionvoid release()
void close()
int getSoTimeout()
void setSoTimeout(int ms)
ms
- soTimeout to be setAccess 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