AndroidHttpClient (Ektorp Android 1.4.1 API)

Overview

Package

Class

Use

Tree

Deprecated

Index

Help

Prev Class

Next Class

Frames

No Frames

All Classes

Summary:

Nested |

Field |

Constr |

Method

Detail:

java.lang.Object

org.ektorp.android.http.AndroidHttpClient

All Implemented Interfaces: HttpClient public class AndroidHttpClient extends Object implements HttpClient

Nested Class Summary Nested Classes Modifier and Type Class and Description static class AndroidHttpClient.Builder Constructor Summary Constructors Constructor and Description AndroidHttpClient (org.apache.http.client.HttpClient hc) AndroidHttpClient (org.apache.http.client.HttpClient hc, org.apache.http.client.HttpClient backend) Method Summary Methods Modifier and Type Method and Description HttpResponse copy ( String sourceUri, String destination) HttpResponse delete ( String uri) HttpResponse get ( String uri) HttpResponse get ( String uri, Map < String , String > headers) 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 () Methods inherited from class java.lang. Object clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait

Nested Class Summary Nested Classes Modifier and Type Class and Description static class AndroidHttpClient.Builder

Modifier and Type

Class and Description

static class

AndroidHttpClient.Builder

Constructor Summary Constructors Constructor and Description AndroidHttpClient (org.apache.http.client.HttpClient hc) AndroidHttpClient (org.apache.http.client.HttpClient hc, org.apache.http.client.HttpClient backend)

Constructor and Description

AndroidHttpClient (org.apache.http.client.HttpClient hc)

AndroidHttpClient (org.apache.http.client.HttpClient hc, org.apache.http.client.HttpClient backend)

Method Summary Methods Modifier and Type Method and Description HttpResponse copy ( String sourceUri, String destination) HttpResponse delete ( String uri) HttpResponse get ( String uri) HttpResponse get ( String uri, Map < String , String > headers) 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 () Methods inherited from class java.lang. Object clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait

Method and Description

HttpResponse

copy ( String sourceUri, String destination)

delete ( String uri)

get ( String uri)

get ( String uri, Map < String , String > headers)

getUncached ( String uri)

head ( String uri)

post ( String uri, InputStream content)

post ( String uri, String content)

postUncached ( String uri, String content)

put ( String uri)

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

put ( String uri, String content)

void

shutdown ()

Methods inherited from class java.lang. Object clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait

Constructor Detail AndroidHttpClient public AndroidHttpClient(org.apache.http.client.HttpClient hc) AndroidHttpClient public AndroidHttpClient(org.apache.http.client.HttpClient hc, org.apache.http.client.HttpClient backend) Method Detail delete public HttpResponse delete( String uri) Specified by: delete in interface HttpClient get public HttpResponse get( String uri) Specified by: get in interface HttpClient get public HttpResponse get( String uri, Map < String , String > headers) Specified by: get in interface HttpClient getUncached public HttpResponse getUncached( String uri) Specified by: getUncached in interface HttpClient head public HttpResponse head( String uri) Specified by: head in interface HttpClient post public HttpResponse post( String uri, String content) Specified by: post in interface HttpClient post public HttpResponse post( String uri, InputStream content) Specified by: post in interface HttpClient postUncached public HttpResponse postUncached( String uri, String content) Specified by: postUncached in interface HttpClient put public HttpResponse put( String uri) Specified by: put in interface HttpClient put public HttpResponse put( String uri, String content) Specified by: put in interface HttpClient put public HttpResponse put( String uri, InputStream data, String contentType, long contentLength) Specified by: put in interface HttpClient copy public HttpResponse copy( String sourceUri, String destination) Specified by: copy in interface HttpClient shutdown public void shutdown() Specified by: shutdown in interface HttpClient

Constructor Detail AndroidHttpClient public AndroidHttpClient(org.apache.http.client.HttpClient hc) AndroidHttpClient public AndroidHttpClient(org.apache.http.client.HttpClient hc, org.apache.http.client.HttpClient backend)

AndroidHttpClient public AndroidHttpClient(org.apache.http.client.HttpClient hc)

AndroidHttpClient public AndroidHttpClient(org.apache.http.client.HttpClient hc, org.apache.http.client.HttpClient backend)

Method Detail delete public HttpResponse delete( String uri) Specified by: delete in interface HttpClient get public HttpResponse get( String uri) Specified by: get in interface HttpClient get public HttpResponse get( String uri, Map < String , String > headers) Specified by: get in interface HttpClient getUncached public HttpResponse getUncached( String uri) Specified by: getUncached in interface HttpClient head public HttpResponse head( String uri) Specified by: head in interface HttpClient post public HttpResponse post( String uri, String content) Specified by: post in interface HttpClient post public HttpResponse post( String uri, InputStream content) Specified by: post in interface HttpClient postUncached public HttpResponse postUncached( String uri, String content) Specified by: postUncached in interface HttpClient put public HttpResponse put( String uri) Specified by: put in interface HttpClient put public HttpResponse put( String uri, String content) Specified by: put in interface HttpClient put public HttpResponse put( String uri, InputStream data, String contentType, long contentLength) Specified by: put in interface HttpClient copy public HttpResponse copy( String sourceUri, String destination) Specified by: copy in interface HttpClient shutdown public void shutdown() Specified by: shutdown in interface HttpClient

delete public HttpResponse delete( String uri) Specified by: delete in interface HttpClient

get public HttpResponse get( String uri) Specified by: get in interface HttpClient

get public HttpResponse get( String uri, Map < String , String > headers) Specified by: get in interface HttpClient

getUncached public HttpResponse getUncached( String uri) Specified by: getUncached in interface HttpClient

head public HttpResponse head( String uri) Specified by: head in interface HttpClient

post public HttpResponse post( String uri, String content) Specified by: post in interface HttpClient

post public HttpResponse post( String uri, InputStream content) Specified by: post in interface HttpClient

postUncached public HttpResponse postUncached( String uri, String content) Specified by: postUncached in interface HttpClient

put public HttpResponse put( String uri) Specified by: put in interface HttpClient

put public HttpResponse put( String uri, String content) Specified by: put in interface HttpClient

put public HttpResponse put( String uri, InputStream data, String contentType, long contentLength) Specified by: put in interface HttpClient

copy public HttpResponse copy( String sourceUri, String destination) Specified by: copy in interface HttpClient

shutdown public void shutdown() Specified by: shutdown in interface HttpClient

Copyright © 2013. All Rights Reserved.