|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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 |
public IResponse perform(IRequest request)
throws WcmException
request - the HTTP request to performWcmException - on trouble with connectionpublic void release()
public void close()
public int getSoTimeout()
public void setSoTimeout(int ms)
ms - soTimeout to be set
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||