Package org.gcube.common.clients
Class ProxyBuilderImpl<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.ProxyBuilderImpl<S,P>
- Type Parameters:
S- the service classP- the porttype class
- 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<jakarta.xml.ws.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
ConstructorsConstructorDescriptionProxyBuilderImpl(Plugin<S, P> plugin, org.gcube.common.clients.cache.EndpointCache<jakarta.xml.ws.EndpointReference> cache, org.gcube.common.clients.config.Property<?>... properties) ProxyBuilderImpl(Plugin<S, P> plugin, org.gcube.common.clients.config.Property<?>... properties) Creates an instance with a givenPluginand zero or more defaultPropertys.ProxyBuilderImpl(Plugin<S, P> plugin, org.gcube.common.clients.queries.Query<jakarta.xml.ws.EndpointReference> query, org.gcube.common.clients.cache.EndpointCache<jakarta.xml.ws.EndpointReference> cache, org.gcube.common.clients.config.Property<?>... properties) Creates an instance with a givenPlugin,aQuery, anEndpointCache, and zero or more defaultPropertys.ProxyBuilderImpl(Plugin<S, P> plugin, org.gcube.common.clients.queries.Query<jakarta.xml.ws.EndpointReference> query, org.gcube.common.clients.config.Property<?>... properties) -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprotected jakarta.xml.ws.EndpointReferenceconvertAddress(jakarta.xml.ws.wsaddressing.W3CEndpointReference address) Methods inherited from class org.gcube.common.clients.builders.AbstractStatelessBuilder
at, at, at, with, with, withTimeoutMethods inherited from class org.gcube.common.clients.builders.AbstractBuilder
addProperty, build, plugin, setAddress, setQuery, setTimeoutMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.gcube.common.clients.builders.StatelessBuilderAPI.Builder
at, at, at, build, with, with, withTimeoutMethods inherited from interface org.gcube.common.clients.builders.StatelessBuilderAPI.FinalClause
buildMethods inherited from interface org.gcube.common.clients.builders.StatelessBuilderAPI.SecondClause
build
-
Constructor Details
-
ProxyBuilderImpl
public ProxyBuilderImpl(Plugin<S, P> plugin, org.gcube.common.clients.config.Property<?>... properties) Creates an instance with a givenPluginand zero or more defaultPropertys.- Parameters:
plugin- thePluginproperties- the properties
-
ProxyBuilderImpl
public ProxyBuilderImpl(Plugin<S, P> plugin, org.gcube.common.clients.queries.Query<jakarta.xml.ws.EndpointReference> query, org.gcube.common.clients.config.Property<?>... properties) - Parameters:
plugin- thePluginquery- theQueryproperties- the properties
-
ProxyBuilderImpl
public ProxyBuilderImpl(Plugin<S, P> plugin, org.gcube.common.clients.cache.EndpointCache<jakarta.xml.ws.EndpointReference> cache, org.gcube.common.clients.config.Property<?>... properties) - Parameters:
plugin- thePlugincache- theEndpointCacheproperties- the properties
-
ProxyBuilderImpl
public ProxyBuilderImpl(Plugin<S, P> plugin, org.gcube.common.clients.queries.Query<jakarta.xml.ws.EndpointReference> query, org.gcube.common.clients.cache.EndpointCache<jakarta.xml.ws.EndpointReference> cache, org.gcube.common.clients.config.Property<?>... properties) Creates an instance with a givenPlugin,aQuery, anEndpointCache, and zero or more defaultPropertys.- Parameters:
plugin- thePluginquery- theQuerycache- theEndpointCacheproperties- the properties
-
-
Method Details
-
convertAddress
protected jakarta.xml.ws.EndpointReference convertAddress(jakarta.xml.ws.wsaddressing.W3CEndpointReference address) -
contextPath
-