java.lang.Object
dev.voidframework.restclient.retrofit.calladapter.StringCallAdapter
- All Implemented Interfaces:
retrofit2.CallAdapter<String,String>
public final class StringCallAdapter
extends Object
implements retrofit2.CallAdapter<String,String>
Adapts a Call with response of type String into a String.
- Since:
- 1.9.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface retrofit2.CallAdapter
retrofit2.CallAdapter.Factory
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
StringCallAdapter
public StringCallAdapter()
-
Method Details
-
responseType
public Type responseType()
- Specified by:
responseType in interface retrofit2.CallAdapter<String,String>
-
adapt
- Specified by:
adapt in interface retrofit2.CallAdapter<String,String>