bad.robot.http.listener
Class LoggingHttpClient
java.lang.Object
bad.robot.http.listener.LoggingHttpClient
- All Implemented Interfaces:
- HttpClient
public class LoggingHttpClient
- extends Object
- implements HttpClient
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoggingHttpClient
public LoggingHttpClient(HttpClient delegate,
org.apache.log4j.Logger logger)
get
public HttpResponse get(URL url)
throws HttpException
- Specified by:
get
in interface HttpClient
- Throws:
HttpException
get
public HttpResponse get(URL url,
Headers headers)
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)
throws HttpException
- Specified by:
put
in interface HttpClient
- Throws:
HttpException
delete
public HttpResponse delete(URL url)
throws HttpException
- Specified by:
delete
in interface HttpClient
- Throws:
HttpException
options
public HttpResponse options(URL url)
throws HttpException
- Specified by:
options
in interface HttpClient
- Throws:
HttpException
shutdown
public void shutdown()
- Specified by:
shutdown
in interface HttpClient
Copyright © 2012. All Rights Reserved.