|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.netheos.pcsapi.request.HttpRequestor
public class HttpRequestor
A simple requestor which execute a http request.
| Constructor Summary | |
|---|---|
HttpRequestor(org.apache.http.client.methods.HttpUriRequest request,
CPath path,
HttpExecutor executor)
Create a new requestor |
|
| Method Summary | |
|---|---|
CResponse |
call()
|
CPath |
getPath()
Get the file path used in the request |
org.apache.http.client.methods.HttpUriRequest |
getRequest()
Get the http request used in this executor |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpRequestor(org.apache.http.client.methods.HttpUriRequest request,
CPath path,
HttpExecutor executor)
request - The http request (HttpGet, HttpPost ...) to executepath - The requested file path (may be null)executor - The object used to execute the request| Method Detail |
|---|
public org.apache.http.client.methods.HttpUriRequest getRequest()
public CPath getPath()
Requestor
getPath in interface Requestor<CResponse>
public CResponse call()
throws CStorageException
call in interface Callable<CResponse>CStorageException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||