Package org.eclipse.jgit.transport.http
Interface HttpConnectionFactory2
- All Superinterfaces:
HttpConnectionFactory
- All Known Implementing Classes:
HttpClientConnectionFactory
,JDKHttpConnectionFactory
A
HttpConnectionFactory
that supports client-side sessions that can
maintain state and configure connections.- Since:
- 5.11
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
AGitSession
groups the multiple HTTP connectionsTransportHttp
uses for the requests it makes during a git fetch or push. -
Method Summary
Modifier and TypeMethodDescriptionCreates a newHttpConnectionFactory2.GitSession
instance that can be used with connections created by thisHttpConnectionFactory
instance.Methods inherited from interface org.eclipse.jgit.transport.http.HttpConnectionFactory
create, create
-
Method Details
-
newSession
Creates a newHttpConnectionFactory2.GitSession
instance that can be used with connections created by thisHttpConnectionFactory
instance.- Returns:
- a new
HttpConnectionFactory2.GitSession
-