Class BaseRequest<T>

java.lang.Object
io.ipinfo.api.request.BaseRequest<T>
Direct Known Subclasses:
ASNRequest, IPRequest, MapRequest

public abstract class BaseRequest<T>
extends Object
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected static com.google.gson.Gson gson  
  • Constructor Summary

    Constructors
    Modifier Constructor Description
    protected BaseRequest​(okhttp3.OkHttpClient client, String token)  
  • Method Summary

    Modifier and Type Method Description
    abstract T handle()  
    okhttp3.Response handleRequest​(okhttp3.Request.Builder request)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait