1 package org.metricshub.winrm.service.client.encryption;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 import java.io.IOException;
24 import java.util.Map;
25 import org.apache.cxf.Bus;
26 import org.apache.cxf.service.model.EndpointInfo;
27 import org.apache.cxf.transport.http.HTTPConduit;
28 import org.apache.cxf.transport.http.asyncclient.AsyncHTTPConduitFactory;
29 import org.apache.cxf.ws.addressing.EndpointReferenceType;
30
31
32
33
34
35 public class AsyncHttpEncryptionAwareConduitFactory extends AsyncHTTPConduitFactory {
36
37 public AsyncHttpEncryptionAwareConduitFactory() {
38 super((Map<String, Object>) null);
39 }
40
41 @Override
42 public HTTPConduit createConduit(final Bus bus, final EndpointInfo localInfo, final EndpointReferenceType target)
43 throws IOException {
44 return isShutdown() ? null : new AsyncHttpEncryptionAwareConduit(bus, localInfo, target, this);
45 }
46 }