public static interface CallAdapter.Factory
CallAdapter instances based on the return type of the service interface methods.| Modifier and Type | Method and Description |
|---|---|
CallAdapter<?> |
get(Type returnType,
Annotation[] annotations,
Retrofit retrofit)
Returns a call adapter for interface methods that return
returnType, or null if it
cannot be handled by this factory. |
CallAdapter<?> get(Type returnType, Annotation[] annotations, Retrofit retrofit)
returnType, or null if it
cannot be handled by this factory.Copyright © 2016 Square, Inc.. All rights reserved.