Class ObjectNodeCallAdapter

java.lang.Object
dev.voidframework.restclient.retrofit.calladapter.ObjectNodeCallAdapter
All Implemented Interfaces:
retrofit2.CallAdapter<com.fasterxml.jackson.databind.node.ObjectNode,com.fasterxml.jackson.databind.node.ObjectNode>

public final class ObjectNodeCallAdapter extends Object implements retrofit2.CallAdapter<com.fasterxml.jackson.databind.node.ObjectNode,com.fasterxml.jackson.databind.node.ObjectNode>
Adapts a Call with response of type ObjectNode into a ObjectNode.
Since:
1.9.0
  • Nested Class Summary

    Nested classes/interfaces inherited from interface retrofit2.CallAdapter

    retrofit2.CallAdapter.Factory
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.fasterxml.jackson.databind.node.ObjectNode
    adapt(retrofit2.Call<com.fasterxml.jackson.databind.node.ObjectNode> call)
     
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ObjectNodeCallAdapter

      public ObjectNodeCallAdapter()
  • Method Details

    • responseType

      public Type responseType()
      Specified by:
      responseType in interface retrofit2.CallAdapter<com.fasterxml.jackson.databind.node.ObjectNode,com.fasterxml.jackson.databind.node.ObjectNode>
    • adapt

      public com.fasterxml.jackson.databind.node.ObjectNode adapt(retrofit2.Call<com.fasterxml.jackson.databind.node.ObjectNode> call)
      Specified by:
      adapt in interface retrofit2.CallAdapter<com.fasterxml.jackson.databind.node.ObjectNode,com.fasterxml.jackson.databind.node.ObjectNode>