Class AbstractRestClient

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable
    Direct Known Subclasses:
    AzureDevopsRestClient

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

      Fields 
      Modifier and Type Field Description
      protected javax.ws.rs.client.Client client  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      protected <R> R invoke​(java.util.concurrent.Callable<R> callable)  
      protected <T> T performCall​(javax.ws.rs.client.Invocation.Builder builder, java.lang.String method, java.lang.Object requestEntity, java.lang.Class<T> responseType)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • client

        protected final javax.ws.rs.client.Client client
    • Constructor Detail

      • AbstractRestClient

        public AbstractRestClient()