Package org.eclipse.jgit.transport.http
Interface HttpConnectionFactory2
-
- All Superinterfaces:
HttpConnectionFactory
- All Known Implementing Classes:
HttpClientConnectionFactory
,JDKHttpConnectionFactory
public interface HttpConnectionFactory2 extends HttpConnectionFactory
AHttpConnectionFactory
that 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 interface
HttpConnectionFactory2.GitSession
AGitSession
groups the multiple HTTP connectionsTransportHttp
uses 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.GitSession
newSession()
Creates 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 Detail
-
newSession
@NonNull HttpConnectionFactory2.GitSession newSession()
Creates a newHttpConnectionFactory2.GitSession
instance that can be used with connections created by thisHttpConnectionFactory
instance.- Returns:
- a new
HttpConnectionFactory2.GitSession
-
-