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 java.lang.Object implements HttpConnectionFactory2.GitSession
-
-
Field Summary
Fields Modifier and Type Field Description private javax.net.ssl.SSLContextsecurityContextprivate javax.net.ssl.SSLSocketFactorysocketFactory
-
Constructor Summary
Constructors Modifier Constructor Description privateJdkConnectionSession()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Closes theHttpConnectionFactory2.GitSession, releasing any internal state.JDKHttpConnectionconfigure(HttpConnection connection, boolean sslVerify)Configure a just createdHttpConnection.
-
-
-
Method Detail
-
configure
public JDKHttpConnection configure(HttpConnection connection, boolean sslVerify) throws java.security.GeneralSecurityException
Description copied from interface:HttpConnectionFactory2.GitSessionConfigure a just createdHttpConnection.- Specified by:
configurein interfaceHttpConnectionFactory2.GitSession- Parameters:
connection- to configure; created by the sameHttpConnectionFactoryinstancesslVerify- whether SSL is to be verified- Returns:
- the configured
- Throws:
java.security.GeneralSecurityException- if the connection cannot be configured
-
close
public void close()
Description copied from interface:HttpConnectionFactory2.GitSessionCloses theHttpConnectionFactory2.GitSession, releasing any internal state.- Specified by:
closein interfaceHttpConnectionFactory2.GitSession
-
-