Package org.eclipse.jgit.transport.http
Interface HttpConnectionFactory2
-
- All Superinterfaces:
HttpConnectionFactory
- All Known Implementing Classes:
HttpClientConnectionFactory,JDKHttpConnectionFactory
public interface HttpConnectionFactory2 extends HttpConnectionFactory
AHttpConnectionFactorythat supports client-side sessions that can maintain state and configure connections.- Since:
- 5.11
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceHttpConnectionFactory2.GitSessionAGitSessiongroups the multiple HTTP connectionsTransportHttpuses for the requests it makes during a git fetch or push.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description HttpConnectionFactory2.GitSessionnewSession()Creates a newHttpConnectionFactory2.GitSessioninstance that can be used with connections created by thisHttpConnectionFactoryinstance.-
Methods inherited from interface org.eclipse.jgit.transport.http.HttpConnectionFactory
create, create
-
-
-
-
Method Detail
-
newSession
@NonNull HttpConnectionFactory2.GitSession newSession()
Creates a newHttpConnectionFactory2.GitSessioninstance that can be used with connections created by thisHttpConnectionFactoryinstance.- Returns:
- a new
HttpConnectionFactory2.GitSession
-
-