net.netheos.pcsapi.request
Class SimpleHttpExecutor
java.lang.Object
net.netheos.pcsapi.request.SimpleHttpExecutor
- All Implemented Interfaces:
- HttpExecutor
public class SimpleHttpExecutor
- extends Object
- implements HttpExecutor
Simple implementation of HttpExecutor which execute directly the given request.
|
Method Summary |
CResponse |
execute(org.apache.http.client.methods.HttpUriRequest request)
Execute the request |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleHttpExecutor
public SimpleHttpExecutor(org.apache.http.client.HttpClient client)
execute
public CResponse execute(org.apache.http.client.methods.HttpUriRequest request)
throws CStorageException
- Description copied from interface:
HttpExecutor
- Execute the request
- Specified by:
execute in interface HttpExecutor
- Parameters:
request - The http request
- Returns:
- The http response
- Throws:
CStorageException - Execution failure
Copyright © 2014. All Rights Reserved.