|
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 IRequester
Requester have the main task to perform HTTP requests and return IWDResponses. A requester can be used for a series of request until released or closed.
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
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
IResponse perform(IRequest request)
throws WcmException
request - the HTTP request to perform
WcmException - on trouble with connectionvoid release()
void close()
int getSoTimeout()
void setSoTimeout(int ms)
ms - soTimeout to be set| 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 | |||||||||