Class ProxyBuilderImpl<S,​P>

  • Type Parameters:
    S -
    P -
    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>, ProxyBuilder<P>

    public class ProxyBuilderImpl<S,​P>
    extends org.gcube.common.clients.builders.AbstractStatelessBuilder<EndpointReference,​S,​P>
    implements ProxyBuilder<P>
    Default implementation of ProxyBuilder.
    Author:
    Fabio Simeoni
    • Field Summary

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

        defaultTimeout
    • Constructor Summary

      Constructors 
      Constructor Description
      ProxyBuilderImpl​(Plugin<S,​P> plugin, org.gcube.common.clients.cache.EndpointCache<EndpointReference> cache, org.gcube.common.clients.config.Property<?>... properties)
      Creates an instance with a given Plugin, an EndpointCache, and zero or more default Propertys.
      ProxyBuilderImpl​(Plugin<S,​P> plugin, org.gcube.common.clients.config.Property<?>... properties)
      Creates an instance with a given Plugin and zero or more default Propertys.
      ProxyBuilderImpl​(Plugin<S,​P> plugin, org.gcube.common.clients.queries.Query<EndpointReference> query, org.gcube.common.clients.cache.EndpointCache<EndpointReference> cache, org.gcube.common.clients.config.Property<?>... properties)
      Creates an instance with a given Plugin,a Query, an EndpointCache, and zero or more default Propertys.
      ProxyBuilderImpl​(Plugin<S,​P> plugin, org.gcube.common.clients.queries.Query<EndpointReference> query, org.gcube.common.clients.config.Property<?>... properties)
      Creates an instance with a given Plugin, a Query, and zero or more default Propertys.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected String contextPath()  
      protected EndpointReference convertAddress​(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 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 Detail

      • ProxyBuilderImpl

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

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

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

        public ProxyBuilderImpl​(Plugin<S,​P> plugin,
                                org.gcube.common.clients.queries.Query<EndpointReference> query,
                                org.gcube.common.clients.cache.EndpointCache<EndpointReference> cache,
                                org.gcube.common.clients.config.Property<?>... properties)
        Creates an instance with a given Plugin,a Query, an EndpointCache, and zero or more default Propertys.
        Parameters:
        plugin - the Plugin
        query - the StatelessQuery
        cache - the EndpointCache
        properties - the properties