Uses of Class
org.openstreetmap.josm.tools.HttpClient
Packages that use HttpClient
Package
Description
Provides the classes for JOSM cache of imagery tiles, backed up by JCS.
Provides the classes for OAuth authentication to OSM.
Provides GUI classes for the download dialog.
Provides GUI classes for handling input/output operations (download, upload, save).
Provides GUI classes for handling OAuth authentication to OSM API.
Provides classes for handling connection preferences, including server authentication and proxy settings.
Provides the classes for JOSM input/output support.
Provides the classes for JOSM plugins system.
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 HttpClientModifier and TypeMethodDescriptionprivate HttpClientJCSCachedTileLoaderJob.getRequest(String requestMethod) -
Uses of HttpClient in org.openstreetmap.josm.data.oauth
Methods in org.openstreetmap.josm.data.oauth with parameters of type HttpClientModifier and TypeMethodDescriptionvoidIOAuthToken.sign(HttpClient client) Sign a clientvoidOAuth20Token.sign(HttpClient client) -
Uses of HttpClient in org.openstreetmap.josm.gui.download
Fields in org.openstreetmap.josm.gui.download declared as HttpClient -
Uses of HttpClient in org.openstreetmap.josm.gui.io
Fields in org.openstreetmap.josm.gui.io declared as HttpClient -
Uses of HttpClient in org.openstreetmap.josm.gui.oauth
Fields in org.openstreetmap.josm.gui.oauth declared as HttpClientMethods in org.openstreetmap.josm.gui.oauth with parameters of type HttpClient -
Uses of HttpClient in org.openstreetmap.josm.gui.preferences.server
Fields in org.openstreetmap.josm.gui.preferences.server declared as HttpClient -
Uses of HttpClient in org.openstreetmap.josm.io
Fields in org.openstreetmap.josm.io declared as HttpClientModifier and TypeFieldDescriptionprivate HttpClientCachedFile.activeConnectionprotected HttpClientOsmConnection.activeConnectionMethods in org.openstreetmap.josm.io with parameters of type HttpClientModifier and TypeMethodDescriptionprotected voidOsmServerReader.adaptRequest(HttpClient request) Allows subclasses to modify the request.protected voidOverpassDownloadReader.adaptRequest(HttpClient request) protected voidOsmConnection.addAuth(HttpClient connection) protected voidOsmConnection.addBasicAuthorizationHeader(HttpClient con) Adds an authentication header for basic authenticationprotected voidOsmConnection.addOAuth20AuthorizationHeader(HttpClient connection) Signs the connection with an OAuth authentication headerprotected StringOsmConnection.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 HttpClientModifier and TypeFieldDescriptionprivate HttpClientReadRemotePluginInformationTask.connectionprivate HttpClientPluginDownloadTask.downloadConnection -
Uses of HttpClient in org.openstreetmap.josm.tools
Subclasses of HttpClient in org.openstreetmap.josm.toolsModifier and TypeClassDescriptionfinal classProvides a uniform access for a HTTP/HTTPS 1.0/1.1 server.Methods in org.openstreetmap.josm.tools that return HttpClientModifier and TypeMethodDescriptionstatic HttpClientCreates a new instance for the given URL and aGETrequeststatic HttpClientCreates a new instance for the given URL and aGETrequestCreates a new instance for the given URL and aGETrequestfinal HttpClientHttpClient.keepAlive(boolean keepAlive) Sets whether not to set headerConnection=closefinal HttpClientSets theAcceptheader.final HttpClientHttpClient.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.final HttpClientHttpClient.setFinishOnCloseOutput(boolean finishOnCloseOutput) Sets whether the progress monitor task will be finished when the output stream is closed.final HttpClientSets an arbitrary HTTP header.final HttpClientHttpClient.setHeaders(Map<String, String> headers) Sets arbitrary HTTP headers.final HttpClientHttpClient.setIfModifiedSince(long ifModifiedSince) Sets theIf-Modified-Sinceheader.final HttpClientHttpClient.setLogAtDebug(boolean debug) Sets the connect log at DEBUG level instead of the default INFO level.final HttpClientHttpClient.setMaxRedirects(int maxRedirects) Sets the maximum number of redirections to follow.final HttpClientHttpClient.setOutputMessage(String outputMessage) Sets the output message to be displayed in progress monitor forPUT,POSTandDELETEmethods.final HttpClientHttpClient.setReadTimeout(int readTimeout) Sets the read timeout to a specified timeout, in milliseconds.final HttpClientHttpClient.setReasonForRequest(String reasonForRequest) Sets a reason to show on console.final HttpClientHttpClient.setRequestBody(byte[] requestBody) Sets the request body forPUT/POSTrequests.final HttpClientHttpClient.useCache(boolean useCache) Sets whether not to set headerCache-Control=no-cache.