blob: 5183ce6176177c01f8d4f4d351261b962f414e7c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package ai.vespa.feed.client.impl;
import org.apache.hc.core5.reactor.ssl.TlsDetails;
import javax.net.ssl.SSLEngine;
/**
* @author bjorncs
*/
public class TlsDetailsFactory {
private TlsDetailsFactory() {}
public static TlsDetails create(SSLEngine e) { return new TlsDetails(e.getSession(), "h2"); /*h2 == HTTP2*/ }
}
|