Modifier and Type | Class and Description |
---|---|
static class |
HttpConfig.HttpRedirectMode
Config values for http.followRedirect.
|
Modifier and Type | Field and Description |
---|---|
static String |
FOLLOW_REDIRECTS_KEY
git config key for the "followRedirects" setting.
|
static String |
HTTP
git config section key for http settings.
|
static String |
MAX_REDIRECTS_KEY
git config key for the "maxRedirects" setting.
|
static String |
POST_BUFFER_KEY
git config key for the "postBuffer" setting.
|
static String |
SSL_VERIFY_KEY
git config key for the "sslVerify" setting.
|
Constructor and Description |
---|
HttpConfig(Config config,
URIish uri)
Creates a new
HttpConfig tailored to
the given URIish . |
HttpConfig(URIish uri)
Creates a
HttpConfig that reads values
solely from the user config. |
Modifier and Type | Method and Description |
---|---|
HttpConfig.HttpRedirectMode |
getFollowRedirects()
Get the "http.followRedirects" setting
|
int |
getMaxRedirects()
Get the "http.maxRedirects" setting
|
int |
getPostBuffer()
Get the "http.postBuffer" setting
|
boolean |
isSslVerify()
Get the "http.sslVerify" setting
|
public static final String HTTP
public static final String FOLLOW_REDIRECTS_KEY
public static final String MAX_REDIRECTS_KEY
public static final String POST_BUFFER_KEY
public static final String SSL_VERIFY_KEY
public HttpConfig(Config config, URIish uri)
HttpConfig
tailored to
the given URIish
.config
- to read the HttpConfig
fromuri
- to get the configuration values forpublic HttpConfig(URIish uri)
HttpConfig
that reads values
solely from the user config.uri
- to get the configuration values forpublic int getPostBuffer()
public boolean isSslVerify()
public HttpConfig.HttpRedirectMode getFollowRedirects()
public int getMaxRedirects()
Copyright © 2018 Eclipse JGit Project. All rights reserved.