org.ektorp.http
Interface HttpClient

All Known Implementing Classes:
StdHttpClient

public interface HttpClient


Method Summary
 HttpResponse delete(String uri)
           
 HttpResponse get(String uri)
           
 HttpResponse getUncached(String uri)
           
 HttpResponse head(String uri)
           
 HttpResponse post(String uri, InputStream content)
           
 HttpResponse post(String uri, String content)
           
 HttpResponse postUncached(String uri, String content)
           
 HttpResponse put(String uri)
           
 HttpResponse put(String uri, InputStream data, String contentType, long contentLength)
           
 HttpResponse put(String uri, String content)
           
 void shutdown()
           
 

Method Detail

get

HttpResponse get(String uri)

put

HttpResponse put(String uri,
                 String content)

put

HttpResponse put(String uri)

put

HttpResponse put(String uri,
                 InputStream data,
                 String contentType,
                 long contentLength)

post

HttpResponse post(String uri,
                  String content)

post

HttpResponse post(String uri,
                  InputStream content)

delete

HttpResponse delete(String uri)

head

HttpResponse head(String uri)

getUncached

HttpResponse getUncached(String uri)

postUncached

HttpResponse postUncached(String uri,
                          String content)

shutdown

void shutdown()


Copyright © 2011. All Rights Reserved.