Class StatelessBuilderImpl<S,P>

java.lang.Object
org.gcube.common.clients.builders.AbstractBuilder<A,S,P>
org.gcube.common.clients.builders.AbstractStatelessBuilder<jakarta.xml.ws.EndpointReference,S,P>
org.gcube.common.clients.fw.builders.StatelessBuilderImpl<S,P>
Type Parameters:
S - the type of service stubs
P - the type of service proxies
All Implemented Interfaces:
org.gcube.common.clients.builders.StatelessBuilderAPI.Builder<P>, org.gcube.common.clients.builders.StatelessBuilderAPI.FinalClause<P>, org.gcube.common.clients.builders.StatelessBuilderAPI.SecondClause<P>, StatelessBuilder<P>

public class StatelessBuilderImpl<S,P> extends org.gcube.common.clients.builders.AbstractStatelessBuilder<jakarta.xml.ws.EndpointReference,S,P> implements StatelessBuilder<P>
Default implementation of StatelessBuilder.
Author:
Fabio Simeoni, Luca Frosini (ISTI-CNR)
  • Field Summary

    Fields inherited from class org.gcube.common.clients.builders.AbstractBuilder

    defaultTimeout
  • Constructor Summary

    Constructors
    Constructor
    Description
    StatelessBuilderImpl(Plugin<S,P> plugin, org.gcube.common.clients.cache.EndpointCache<jakarta.xml.ws.EndpointReference> cache, org.gcube.common.clients.config.Property<?>... properties)
    Constructs an instance with a given Plugin, an EndpointCache, and zero or more default Propertys.
    StatelessBuilderImpl(Plugin<S,P> plugin, org.gcube.common.clients.config.Property<?>... properties)
    Constructs an instance with a given Plugin and zero or more default Propertys.
    StatelessBuilderImpl(Plugin<S,P> plugin, StatelessQuery query, org.gcube.common.clients.cache.EndpointCache<jakarta.xml.ws.EndpointReference> cache, org.gcube.common.clients.config.Property<?>... properties)
    Constructs an instance with a given Plugin,a StatelessQuery, an EndpointCache, and zero or more default Propertys.
    StatelessBuilderImpl(Plugin<S,P> plugin, StatelessQuery query, org.gcube.common.clients.config.Property<?>... properties)
    Constructs an instance with a given Plugin, a StatelessQuery, and zero or more default Propertys.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
     
    protected jakarta.xml.ws.EndpointReference
    convertAddress(jakarta.xml.ws.wsaddressing.W3CEndpointReference address)
     

    Methods inherited from class org.gcube.common.clients.builders.AbstractStatelessBuilder

    at, at, at, with, with, withTimeout

    Methods inherited from class org.gcube.common.clients.builders.AbstractBuilder

    addProperty, build, plugin, setAddress, setQuery, setTimeout

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface org.gcube.common.clients.builders.StatelessBuilderAPI.Builder

    at, at, at, build, with, with, withTimeout

    Methods inherited from interface org.gcube.common.clients.builders.StatelessBuilderAPI.FinalClause

    build

    Methods inherited from interface org.gcube.common.clients.builders.StatelessBuilderAPI.SecondClause

    build
  • Constructor Details

    • StatelessBuilderImpl

      public StatelessBuilderImpl(Plugin<S,P> plugin, org.gcube.common.clients.config.Property<?>... properties)
      Constructs an instance with a given Plugin and zero or more default Propertys.
      Parameters:
      plugin - the Plugin
      properties - the properties
    • StatelessBuilderImpl

      public StatelessBuilderImpl(Plugin<S,P> plugin, StatelessQuery query, org.gcube.common.clients.config.Property<?>... properties)
      Constructs an instance with a given Plugin, a StatelessQuery, and zero or more default Propertys.
      Parameters:
      plugin - the Plugin
      query - the StatelessQuery
      properties - the properties
    • StatelessBuilderImpl

      public StatelessBuilderImpl(Plugin<S,P> plugin, org.gcube.common.clients.cache.EndpointCache<jakarta.xml.ws.EndpointReference> cache, org.gcube.common.clients.config.Property<?>... properties)
      Constructs an instance with a given Plugin, an EndpointCache, and zero or more default Propertys.
      Parameters:
      plugin - the Plugin
      cache - the EndpointCache
      properties - the properties
    • StatelessBuilderImpl

      public StatelessBuilderImpl(Plugin<S,P> plugin, StatelessQuery query, org.gcube.common.clients.cache.EndpointCache<jakarta.xml.ws.EndpointReference> cache, org.gcube.common.clients.config.Property<?>... properties)
      Constructs an instance with a given Plugin,a StatelessQuery, an EndpointCache, and zero or more default Propertys.
      Parameters:
      plugin - the Plugin
      query - the StatelessQuery
      cache - the EndpointCache
      properties - the properties
  • Method Details

    • convertAddress

      protected jakarta.xml.ws.EndpointReference convertAddress(jakarta.xml.ws.wsaddressing.W3CEndpointReference address)
      Specified by:
      convertAddress in class org.gcube.common.clients.builders.AbstractBuilder<jakarta.xml.ws.EndpointReference,S,P>
    • contextPath

      protected String contextPath()
      Specified by:
      contextPath in class org.gcube.common.clients.builders.AbstractBuilder<jakarta.xml.ws.EndpointReference,S,P>