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 HttpClientJCSCachedTileLoaderJob. 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 voidIOAuthToken. 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 Modifier and Type Field Description private HttpClientPlaceSelection.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 HttpClientDownloadFileTask. 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 HttpClientTestAccessTokenTask. connectionMethods in org.openstreetmap.josm.gui.oauth with parameters of type HttpClient Modifier and Type Method Description protected voidTestAccessTokenTask. 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 HttpClientApiUrlTestTask. connection -
Uses of HttpClient in org.openstreetmap.josm.io
Fields in org.openstreetmap.josm.io declared as HttpClient Modifier and Type Field Description private HttpClientCachedFile. activeConnectionprotected HttpClientOsmConnection. activeConnectionMethods in org.openstreetmap.josm.io with parameters of type HttpClient Modifier and Type Method Description protected 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 java.lang.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 HttpClient Modifier and Type Field Description private HttpClientReadRemotePluginInformationTask. connectionprivate HttpClientPluginDownloadTask. downloadConnection -
Uses of HttpClient in org.openstreetmap.josm.tools
Subclasses of HttpClient in org.openstreetmap.josm.tools Modifier and Type Class Description classHttp1ClientProvides 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 HttpClientHttpClient. create(java.net.URL url)Creates a new instance for the given URL and aGETrequeststatic HttpClientHttpClient. create(java.net.URL url, java.lang.String requestMethod)Creates a new instance for the given URL and aGETrequestHttpClientHttpClient.HttpClientFactory. create(java.net.URL url, java.lang.String requestMethod)Creates a new instance for the given URL and aGETrequestHttpClientHttpClient. keepAlive(boolean keepAlive)Sets whether not to set headerConnection=closeHttpClientHttpClient. setAccept(java.lang.String accept)Sets theAcceptheader.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.HttpClientHttpClient. setFinishOnCloseOutput(boolean finishOnCloseOutput)Sets whether the progress monitor task will be finished when the output stream is closed.HttpClientHttpClient. setHeader(java.lang.String key, java.lang.String value)Sets an arbitrary HTTP header.HttpClientHttpClient. setHeaders(java.util.Map<java.lang.String,java.lang.String> headers)Sets arbitrary HTTP headers.HttpClientHttpClient. setIfModifiedSince(long ifModifiedSince)Sets theIf-Modified-Sinceheader.HttpClientHttpClient. setLogAtDebug(boolean debug)Sets the connect log at DEBUG level instead of the default INFO level.HttpClientHttpClient. setMaxRedirects(int maxRedirects)Sets the maximum number of redirections to follow.HttpClientHttpClient. setOutputMessage(java.lang.String outputMessage)Sets the output message to be displayed in progress monitor forPUT,POSTandDELETEmethods.HttpClientHttpClient. setReadTimeout(int readTimeout)Sets the read timeout to a specified timeout, in milliseconds.HttpClientHttpClient. setReasonForRequest(java.lang.String reasonForRequest)Sets a reason to show on console.HttpClientHttpClient. setRequestBody(byte[] requestBody)Sets the request body forPUT/POSTrequests.HttpClientHttpClient. useCache(boolean useCache)Sets whether not to set headerCache-Control=no-cache.
-