Package org.eclipse.jgit.transport.http
Class JDKHttpConnectionFactory.JdkConnectionSession
java.lang.Object
org.eclipse.jgit.transport.http.JDKHttpConnectionFactory.JdkConnectionSession
- All Implemented Interfaces:
HttpConnectionFactory2.GitSession
- Enclosing class:
JDKHttpConnectionFactory
private static class JDKHttpConnectionFactory.JdkConnectionSession
extends Object
implements HttpConnectionFactory2.GitSession
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Closes theHttpConnectionFactory2.GitSession
, releasing any internal state.configure
(HttpConnection connection, boolean sslVerify) Configure a just createdHttpConnection
.
-
Field Details
-
securityContext
-
socketFactory
-
-
Constructor Details
-
JdkConnectionSession
private JdkConnectionSession()
-
-
Method Details
-
configure
public JDKHttpConnection configure(HttpConnection connection, boolean sslVerify) throws GeneralSecurityException Description copied from interface:HttpConnectionFactory2.GitSession
Configure a just createdHttpConnection
.- Specified by:
configure
in interfaceHttpConnectionFactory2.GitSession
- Parameters:
connection
- to configure; created by the sameHttpConnectionFactory
instancesslVerify
- whether SSL is to be verified- Returns:
- the configured
- Throws:
GeneralSecurityException
- if the connection cannot be configured
-
close
public void close()Description copied from interface:HttpConnectionFactory2.GitSession
Closes theHttpConnectionFactory2.GitSession
, releasing any internal state.- Specified by:
close
in interfaceHttpConnectionFactory2.GitSession
-