Package | Description |
---|---|
org.openstreetmap.josm.data.cache | |
org.openstreetmap.josm.data.oauth | |
org.openstreetmap.josm.gui.download |
Provides GUI classes for the download dialog.
|
org.openstreetmap.josm.gui.io |
Provides GUI classes for handling input/output operations (download, upload, save).
|
org.openstreetmap.josm.gui.oauth |
Provides GUI classes for handling OAuth authentication to OSM API.
|
org.openstreetmap.josm.gui.preferences.server |
Provides classes for handling connection preferences, including server authentication and proxy settings.
|
org.openstreetmap.josm.io | |
org.openstreetmap.josm.plugins | |
org.openstreetmap.josm.tools |
Modifier and Type | Method and Description |
---|---|
private HttpClient |
JCSCachedTileLoaderJob.getRequest(java.lang.String requestMethod,
boolean noCache) |
Modifier and Type | Field and Description |
---|---|
private HttpClient |
SignpostAdapters.HttpRequest.request |
Constructor and Description |
---|
HttpRequest(HttpClient request) |
Modifier and Type | Field and Description |
---|---|
private HttpClient |
PlaceSelection.NameQueryTask.connection |
Modifier and Type | Field and Description |
---|---|
private HttpClient |
DownloadFileTask.downloadConnection |
Modifier and Type | Field and Description |
---|---|
private HttpClient |
OsmOAuthAuthorizationClient.connection |
private HttpClient |
TestAccessTokenTask.connection |
Modifier and Type | Method and Description |
---|---|
protected void |
TestAccessTokenTask.sign(HttpClient con) |
Modifier and Type | Field and Description |
---|---|
private HttpClient |
ApiUrlTestTask.connection |
Modifier and Type | Field and Description |
---|---|
protected HttpClient |
OsmConnection.activeConnection |
private HttpClient |
CachedFile.activeConnection |
Modifier and Type | Method and Description |
---|---|
protected void |
OverpassDownloadReader.adaptRequest(HttpClient request) |
protected void |
OsmServerReader.adaptRequest(HttpClient request)
Allows subclasses to modify the request.
|
protected void |
OsmConnection.addAuth(HttpClient connection) |
protected void |
OsmConnection.addBasicAuthorizationHeader(HttpClient con)
Adds an authentication header for basic authentication
|
protected void |
OsmConnection.addOAuthAuthorizationHeader(HttpClient connection)
Signs the connection with an OAuth authentication header
|
protected void |
OsmConnection.obtainAccessToken(HttpClient connection)
Obtains an OAuth access token for the connection.
|
Modifier and Type | Field and Description |
---|---|
private HttpClient |
ReadRemotePluginInformationTask.connection |
private HttpClient |
PluginDownloadTask.downloadConnection |
Modifier and Type | Method and Description |
---|---|
static HttpClient |
HttpClient.create(java.net.URL url)
Creates a new instance for the given URL and a
GET request |
static HttpClient |
HttpClient.create(java.net.URL url,
java.lang.String requestMethod)
Creates a new instance for the given URL and a
GET request |
HttpClient |
HttpClient.keepAlive(boolean keepAlive)
Sets whether not to set header
Connection=close |
HttpClient |
HttpClient.setAccept(java.lang.String accept)
Sets the
Accept header. |
HttpClient |
HttpClient.setConnectTimeout(int connectTimeout)
Sets a specified timeout value, in milliseconds, to be used when opening a communications link to the resource referenced
by this URLConnection.
|
HttpClient |
HttpClient.setHeader(java.lang.String key,
java.lang.String value)
Sets an arbitrary HTTP header.
|
HttpClient |
HttpClient.setHeaders(java.util.Map<java.lang.String,java.lang.String> headers)
Sets arbitrary HTTP headers.
|
HttpClient |
HttpClient.setIfModifiedSince(long ifModifiedSince)
Sets the
If-Modified-Since header. |
HttpClient |
HttpClient.setMaxRedirects(int maxRedirects)
Sets the maximum number of redirections to follow.
|
HttpClient |
HttpClient.setReadTimeout(int readTimeout)
Sets the read timeout to a specified timeout, in milliseconds.
|
HttpClient |
HttpClient.setReasonForRequest(java.lang.String reasonForRequest)
Sets a reason to show on console.
|
HttpClient |
HttpClient.setRequestBody(byte[] requestBody)
Sets the request body for
PUT /POST requests. |
HttpClient |
HttpClient.useCache(boolean useCache)
Sets whether not to set header
Cache-Control=no-cache |