Class RemoteProxyBuilder
- java.lang.Object
-
- com.composum.sling.nodes.mount.remote.RemoteProxyBuilder
-
- All Implemented Interfaces:
RemoteClientBuilder
public class RemoteProxyBuilder extends Object implements RemoteClientBuilder
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
RemoteProxyBuilder.Config
-
Field Summary
-
Fields inherited from interface com.composum.sling.nodes.mount.remote.RemoteClientBuilder
ASPECT_KEY
-
-
Constructor Summary
Constructors Constructor Description RemoteProxyBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
activate(org.osgi.framework.BundleContext bundleContext, RemoteProxyBuilder.Config config)
void
configure(@NotNull org.apache.http.client.protocol.HttpClientContext context)
add settings to the HTTP client context configurationvoid
configure(@NotNull org.apache.http.impl.client.HttpClientBuilder builder)
Extends the configuration of the HTTP client builder for remote clientsprotected void
deactivate()
-
-
-
Method Detail
-
configure
public void configure(@NotNull @NotNull org.apache.http.client.protocol.HttpClientContext context)
Description copied from interface:RemoteClientBuilder
add settings to the HTTP client context configuration- Specified by:
configure
in interfaceRemoteClientBuilder
- Parameters:
context
- the context object to configure
-
configure
public void configure(@NotNull @NotNull org.apache.http.impl.client.HttpClientBuilder builder)
Description copied from interface:RemoteClientBuilder
Extends the configuration of the HTTP client builder for remote clients- Specified by:
configure
in interfaceRemoteClientBuilder
- Parameters:
builder
- the builder instance to extend
-
activate
protected void activate(org.osgi.framework.BundleContext bundleContext, RemoteProxyBuilder.Config config)
-
deactivate
protected void deactivate()
-
-