Class JsonClient

java.lang.Object
com.qwazr.server.client.JsonClient
All Implemented Interfaces:
java.io.Closeable, java.lang.AutoCloseable

public class JsonClient
extends java.lang.Object
implements java.io.Closeable
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected javax.ws.rs.client.Client client  
    protected RemoteService remote  
  • Constructor Summary

    Constructors 
    Modifier Constructor Description
    protected JsonClient​(RemoteService remote)  
  • Method Summary

    Modifier and Type Method Description
    void close()  
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • close

      public void close()
      Specified by:
      close in interface java.lang.AutoCloseable
      Specified by:
      close in interface java.io.Closeable
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object