Class ZenodoExporter.ClientAndBuilder

java.lang.Object
org.gcube.common.software.processor.zenodo.ZenodoExporter.ClientAndBuilder
All Implemented Interfaces:
AutoCloseable
Enclosing class:
ZenodoExporter

protected static class ZenodoExporter.ClientAndBuilder extends Object implements AutoCloseable
Wrapper class to hold both client and builder for proper resource management
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final jakarta.ws.rs.client.Invocation.Builder
     
    final jakarta.ws.rs.client.Client
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    ClientAndBuilder(jakarta.ws.rs.client.Client client, jakarta.ws.rs.client.Invocation.Builder builder)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    Methods inherited from class java.lang.Object

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

    • client

      public final jakarta.ws.rs.client.Client client
    • builder

      public final jakarta.ws.rs.client.Invocation.Builder builder
  • Constructor Details

    • ClientAndBuilder

      public ClientAndBuilder(jakarta.ws.rs.client.Client client, jakarta.ws.rs.client.Invocation.Builder builder)
  • Method Details