Class PartialServiceClientFactoryCxf
- java.lang.Object
-
- com.devonfw.module.service.common.base.client.PartialServiceClientFactory
-
- com.devonfw.module.cxf.common.impl.client.PartialServiceClientFactoryCxf
-
- Direct Known Subclasses:
SyncServiceClientFactoryCxf
public abstract class PartialServiceClientFactoryCxf extends PartialServiceClientFactory
Abstract base implementation ofPartialServiceClientFactoryusing Apache CXF.- Since:
- 2020.08.001
-
-
Constructor Summary
Constructors Constructor Description PartialServiceClientFactoryCxf()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidapplyClientPolicy(ServiceContext<?> context, org.apache.cxf.transport.http.HTTPConduit conduit)protected voidapplyInterceptors(ServiceContext<?> context, org.apache.cxf.interceptor.InterceptorProvider client)Applies CXF interceptors to the givenserviceClient.protected org.apache.cxf.transports.http.configuration.HTTPClientPolicycreateClientPolicy(ServiceContext<?> context)-
Methods inherited from class com.devonfw.module.service.common.base.client.PartialServiceClientFactory
getErrorFactory, getServiceTypeFolderName, getUrl, isResponsibleForService, setErrorFactory
-
-
-
-
Method Detail
-
createClientPolicy
protected org.apache.cxf.transports.http.configuration.HTTPClientPolicy createClientPolicy(ServiceContext<?> context)
- Parameters:
context- theServiceContext.- Returns:
- the
HTTPClientPolicyfor theconfigurationornullto use defaults.
-
applyInterceptors
protected void applyInterceptors(ServiceContext<?> context, org.apache.cxf.interceptor.InterceptorProvider client)
Applies CXF interceptors to the givenserviceClient.- Parameters:
context- theServiceContext.client- theInterceptorProvider.
-
applyClientPolicy
protected void applyClientPolicy(ServiceContext<?> context, org.apache.cxf.transport.http.HTTPConduit conduit)
- Parameters:
context- theServiceContext.conduit- theHTTPConduitwhere to apply theHTTPClientPolicyto.
-
-