public static interface HttpConnectionFactory2.GitSession
GitSession
groups the multiple HTTP connections
TransportHttp
uses for
the requests it makes during a git fetch or push. A GitSession
can maintain client-side HTTPS state and can configure individual
connections.Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the
HttpConnectionFactory2.GitSession , releasing any internal state. |
HttpConnection |
configure(HttpConnection connection,
boolean sslVerify)
Configure a just created
HttpConnection . |
@NonNull HttpConnection configure(@NonNull HttpConnection connection, boolean sslVerify) throws IOException, GeneralSecurityException
HttpConnection
.connection
- to configure; created by the same
HttpConnectionFactory
instancesslVerify
- whether SSL is to be verifiedIOException
- if the connection cannot be configuredGeneralSecurityException
- if the connection cannot be configuredvoid close()
HttpConnectionFactory2.GitSession
, releasing any internal state.Copyright © 2021 Eclipse JGit Project. All rights reserved.