bad.robot.http.apache
Class ApacheHttpClient
java.lang.Object
bad.robot.http.apache.ApacheHttpClient
- All Implemented Interfaces:
- HttpClient
public class ApacheHttpClient
- extends Object
- implements HttpClient
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApacheHttpClient
public ApacheHttpClient(Builder<org.apache.http.client.HttpClient> builder)
get
public HttpResponse get(URL url,
Headers headers)
throws HttpException
- Specified by:
get
in interface HttpClient
- Throws:
HttpException
get
public HttpResponse get(URL url)
throws HttpException
- Specified by:
get
in interface HttpClient
- Throws:
HttpException
post
public HttpResponse post(URL url,
HttpPost message)
throws HttpException
- Specified by:
post
in interface HttpClient
- Throws:
HttpException
put
public HttpResponse put(URL url,
HttpPut message)
- Specified by:
put
in interface HttpClient
delete
public HttpResponse delete(URL url)
throws HttpException
- Specified by:
delete
in interface HttpClient
- Throws:
HttpException
shutdown
public void shutdown()
- Specified by:
shutdown
in interface HttpClient
Copyright © 2012. All Rights Reserved.