bad.robot.http
Interface HttpClient

All Known Subinterfaces:
CommonHttpClient
All Known Implementing Classes:
ApacheHttpClient, LoggingHttpClient

public interface HttpClient


Method Summary
 HttpResponse delete(URL url)
           
 HttpResponse get(URL url)
           
 HttpResponse get(URL url, Headers headers)
           
 HttpResponse post(URL url, HttpPost message)
           
 HttpResponse put(URL url, HttpPut message)
           
 void shutdown()
           
 

Method Detail

get

HttpResponse get(URL url)
                 throws HttpException
Throws:
HttpException

get

HttpResponse get(URL url,
                 Headers headers)
                 throws HttpException
Throws:
HttpException

post

HttpResponse post(URL url,
                  HttpPost message)
                  throws HttpException
Throws:
HttpException

put

HttpResponse put(URL url,
                 HttpPut message)
                 throws HttpException
Throws:
HttpException

delete

HttpResponse delete(URL url)
                    throws HttpException
Throws:
HttpException

shutdown

void shutdown()


Copyright © 2012. All Rights Reserved.