org.solovyev.android.http
Class AbstractHttpTransaction<R>

java.lang.Object
  extended by org.solovyev.android.http.AbstractHttpTransaction<R>
All Implemented Interfaces:
HttpTransaction<R>, HttpTransactionDef
Direct Known Subclasses:
DownloadFileHttpTransaction

public abstract class AbstractHttpTransaction<R>
extends Object
implements HttpTransaction<R>, HttpTransactionDef

User: serso Date: 5/27/12 Time: 2:33 PM


Constructor Summary
protected AbstractHttpTransaction(String uri, HttpMethod httpMethod)
           
 
Method Summary
 org.apache.http.client.methods.HttpUriRequest createRequest()
           
 HttpMethod getHttpMethod()
           
 String getUri()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.solovyev.android.http.HttpTransaction
getResponse
 
Methods inherited from interface org.solovyev.android.http.HttpTransactionDef
getRequestParameters
 

Constructor Detail

AbstractHttpTransaction

protected AbstractHttpTransaction(@Nonnull
                                  String uri,
                                  @Nonnull
                                  HttpMethod httpMethod)
Method Detail

getHttpMethod

@Nonnull
public HttpMethod getHttpMethod()
Specified by:
getHttpMethod in interface HttpTransactionDef

getUri

@Nonnull
public String getUri()
Specified by:
getUri in interface HttpTransactionDef

createRequest

@Nonnull
public org.apache.http.client.methods.HttpUriRequest createRequest()
Specified by:
createRequest in interface HttpTransaction<R>


Copyright © 2013. All Rights Reserved.