Uses of Class
org.openstreetmap.josm.tools.HttpClient
-
Packages that use HttpClient Package Description org.openstreetmap.josm.data.cache Provides the classes for JOSM cache of imagery tiles, backed up by JCS.org.openstreetmap.josm.data.oauth Provides the classes for OAuth authentication to OSM.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 Provides the classes for JOSM input/output support.org.openstreetmap.josm.plugins Provides the classes for JOSM plugins system.org.openstreetmap.josm.tools Provides the classes for various utilities and tools called from all other packages. -
-
Uses of HttpClient in org.openstreetmap.josm.data.cache
Methods in org.openstreetmap.josm.data.cache that return HttpClient Modifier and Type Method Description private HttpClient
JCSCachedTileLoaderJob. getRequest(java.lang.String requestMethod)
-
Uses of HttpClient in org.openstreetmap.josm.data.oauth
Methods in org.openstreetmap.josm.data.oauth with parameters of type HttpClient Modifier and Type Method Description void
IOAuthToken. sign(HttpClient client)
Sign a clientvoid
OAuth20Token. sign(HttpClient client)
-
Uses of HttpClient in org.openstreetmap.josm.gui.download
Fields in org.openstreetmap.josm.gui.download declared as HttpClient Modifier and Type Field Description private HttpClient
PlaceSelection.NameQueryTask. connection
-
Uses of HttpClient in org.openstreetmap.josm.gui.io
Fields in org.openstreetmap.josm.gui.io declared as HttpClient Modifier and Type Field Description private HttpClient
DownloadFileTask. downloadConnection
-
Uses of HttpClient in org.openstreetmap.josm.gui.oauth
Fields in org.openstreetmap.josm.gui.oauth declared as HttpClient Modifier and Type Field Description private HttpClient
TestAccessTokenTask. connection
Methods in org.openstreetmap.josm.gui.oauth with parameters of type HttpClient Modifier and Type Method Description protected void
TestAccessTokenTask. sign(HttpClient con)
-
Uses of HttpClient in org.openstreetmap.josm.gui.preferences.server
Fields in org.openstreetmap.josm.gui.preferences.server declared as HttpClient Modifier and Type Field Description private HttpClient
ApiUrlTestTask. connection
-
Uses of HttpClient in org.openstreetmap.josm.io
Fields in org.openstreetmap.josm.io declared as HttpClient Modifier and Type Field Description private HttpClient
CachedFile. activeConnection
protected HttpClient
OsmConnection. activeConnection
Methods in org.openstreetmap.josm.io with parameters of type HttpClient Modifier and Type Method Description protected void
OsmServerReader. adaptRequest(HttpClient request)
Allows subclasses to modify the request.protected void
OverpassDownloadReader. adaptRequest(HttpClient request)
protected void
OsmConnection. addAuth(HttpClient connection)
protected void
OsmConnection. addBasicAuthorizationHeader(HttpClient con)
Adds an authentication header for basic authenticationprotected void
OsmConnection. addOAuth20AuthorizationHeader(HttpClient connection)
Signs the connection with an OAuth authentication headerprotected java.lang.String
OsmConnection. retrieveBasicAuthorizationLogin(HttpClient con)
Retrieves login from basic authentication header, if set. -
Uses of HttpClient in org.openstreetmap.josm.plugins
Fields in org.openstreetmap.josm.plugins declared as HttpClient Modifier and Type Field Description private HttpClient
ReadRemotePluginInformationTask. connection
private HttpClient
PluginDownloadTask. downloadConnection
-
Uses of HttpClient in org.openstreetmap.josm.tools
Subclasses of HttpClient in org.openstreetmap.josm.tools Modifier and Type Class Description class
Http1Client
Provides a uniform access for a HTTP/HTTPS 1.0/1.1 server.Methods in org.openstreetmap.josm.tools that return HttpClient Modifier and Type Method Description static HttpClient
HttpClient. create(java.net.URL url)
Creates a new instance for the given URL and aGET
requeststatic HttpClient
HttpClient. create(java.net.URL url, java.lang.String requestMethod)
Creates a new instance for the given URL and aGET
requestHttpClient
HttpClient.HttpClientFactory. create(java.net.URL url, java.lang.String requestMethod)
Creates a new instance for the given URL and aGET
requestHttpClient
HttpClient. keepAlive(boolean keepAlive)
Sets whether not to set headerConnection=close
HttpClient
HttpClient. setAccept(java.lang.String accept)
Sets theAccept
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. setFinishOnCloseOutput(boolean finishOnCloseOutput)
Sets whether the progress monitor task will be finished when the output stream is closed.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 theIf-Modified-Since
header.HttpClient
HttpClient. setLogAtDebug(boolean debug)
Sets the connect log at DEBUG level instead of the default INFO level.HttpClient
HttpClient. setMaxRedirects(int maxRedirects)
Sets the maximum number of redirections to follow.HttpClient
HttpClient. setOutputMessage(java.lang.String outputMessage)
Sets the output message to be displayed in progress monitor forPUT
,POST
andDELETE
methods.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 forPUT
/POST
requests.HttpClient
HttpClient. useCache(boolean useCache)
Sets whether not to set headerCache-Control=no-cache
.
-