com.octo.android.robospice.request.retrofit
Class RetrofitSpiceRequest<T,R>
java.lang.Object
com.octo.android.robospice.request.SpiceRequest<T>
com.octo.android.robospice.request.retrofit.RetrofitSpiceRequest<T,R>
- Type Parameters:
T
- the result type of this request.R
- the retrofited interface used by this request.
- All Implemented Interfaces:
- Comparable<SpiceRequest<T>>
public abstract class RetrofitSpiceRequest<T,R>
- extends SpiceRequest<T>
A simplified SpiceRequest
that makes it even easier to use a
retrofited REST service.
- Author:
- SNI
Methods inherited from class com.octo.android.robospice.request.SpiceRequest |
cancel, compareTo, getPriority, getResultType, getRetryPolicy, isAggregatable, isCancelled, loadDataFromNetwork, publishProgress, publishProgress, setAggregatable, setFuture, setPriority, setRequestCancellationListener, setRequestProgressListener, setRetryPolicy |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RetrofitSpiceRequest
public RetrofitSpiceRequest(Class<T> clazz,
Class<R> retrofitedInterfaceClass)
getRetrofitedInterfaceClass
public Class<R> getRetrofitedInterfaceClass()
setService
public void setService(R service)
getService
public R getService()
Copyright © 2012-2014. All Rights Reserved.