HttpConnectionFactory that supports client-side sessions that can
maintain state and configure connections.
| Modifier and Type | Class and Description |
|---|---|
| public static interface | HttpConnectionFactory2.
A |
| Modifier and Type | Method and Description |
|---|---|
| public HttpConnectionFactory2. | Returns: a newGitSessionCreates a new |
| newSession | back to summary |
|---|---|
| public HttpConnectionFactory2. Creates a new
| |
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 |
|---|---|
| public void | |
| public HttpConnection | Returns: the configuredconnectionto configure; created by the same
connection, boolean HttpConnectionFactory instancewhether SSL is to be verified sslVerify)Configure a just created |
| close | back to summary |
|---|---|
| public void close() Closes the | |
| configure | back to summary |
|---|---|
| public HttpConnection configure(HttpConnection connection, boolean sslVerify) throws IOException, GeneralSecurityException Configure a just created
| |