Uses of Class
java.net.URL
| Package | Description |
|---|---|
| com.squareup.okhttp | |
| com.squareup.okhttp.internal | |
| com.squareup.okhttp.internal.http | |
| java.io | |
| java.lang | |
| java.net | |
| java.security |
Extensible cryptographic service provider infrastructure (SPI) for using
and defining services such as
Certificates,
Keys, KeyStores, MessageDigests, and Signatures. |
| java.sql | |
| javax.net.ssl |
This package provides classes and interfaces needed to use the Secure
Sockets Layer (SSL) protocol and the successor Transport Layer
Security (TLS) protocol.
|
| javax.sql | |
| javax.xml.validation | |
| libcore.net.url | |
| SQLite.JDBC2z |
-
Uses of URL in com.squareup.okhttp
Methods in com.squareup.okhttp that return URL Modifier and Type Method Description URLRequest. url()Methods in com.squareup.okhttp with parameters of type URL Modifier and Type Method Description OkAuthenticator.CredentialOkAuthenticator. authenticate(Proxy proxy, URL url, List<OkAuthenticator.Challenge> challenges)Returns a credential that satisfies the authentication challenge made byurl.OkAuthenticator.CredentialOkAuthenticator. authenticateProxy(Proxy proxy, URL url, List<OkAuthenticator.Challenge> challenges)Returns a credential that satisfies the authentication challenge made byproxy.HttpURLConnectionOkHttpClient. open(URL url)protected URLConnectionHttpHandler. openConnection(URL url)protected URLConnectionHttpHandler. openConnection(URL url, Proxy proxy)Request.BuilderRequest.Builder. url(URL url)Constructors in com.squareup.okhttp with parameters of type URL Constructor Description Builder(URL url) -
Uses of URL in com.squareup.okhttp.internal
Methods in com.squareup.okhttp.internal with parameters of type URL Modifier and Type Method Description static intUtil. getEffectivePort(URL url)URIPlatform. toUriLenient(URL url) -
Uses of URL in com.squareup.okhttp.internal.http
Methods in com.squareup.okhttp.internal.http that return URL Modifier and Type Method Description URLHttpsURLConnectionImpl. getURL()URLPolicy. getURL()Returns the current destination URL, possibly a redirect.Methods in com.squareup.okhttp.internal.http with parameters of type URL Modifier and Type Method Description static StringHttpEngine. getOriginAddress(URL url)static booleanHttpAuthenticator. processAuthHeader(OkAuthenticator authenticator, int responseCode, RawHeaders responseHeaders, RawHeaders successorRequestHeaders, Proxy proxy, URL url)React to a failed authorization response by looking up new credentials.static StringHttpEngine. requestPath(URL url)Returns the path to request, like the '/' in 'GET / HTTP/1.1'.Constructors in com.squareup.okhttp.internal.http with parameters of type URL Constructor Description HttpsURLConnectionImpl(URL url, OkHttpClient client)HttpURLConnectionImpl(URL url, OkHttpClient client) -
Uses of URL in java.io
-
Uses of URL in java.lang
Methods in java.lang that return URL Modifier and Type Method Description protected URLClassLoader. findResource(String resName)Finds the URL of the resource with the specified name.URLClass. getResource(String resourceName)Returns the URL of the given resource, or null if the resource is not found.URLClassLoader. getResource(String resName)Returns the URL of the resource with the specified name.static URLClassLoader. getSystemResource(String resName)Finds the URL of the resource with the specified name.Methods in java.lang that return types with arguments of type URL Modifier and Type Method Description protected Enumeration<URL>ClassLoader. findResources(String resName)Finds an enumeration of URLs for the resource with the specified name.Enumeration<URL>ClassLoader. getResources(String resName)Returns an enumeration of URLs for the resource with the specified name.static Enumeration<URL>ClassLoader. getSystemResources(String resName)Returns an enumeration of URLs for the resource with the specified name.Methods in java.lang with parameters of type URL Modifier and Type Method Description protected PackageClassLoader. definePackage(String name, String specTitle, String specVersion, String specVendor, String implTitle, String implVersion, String implVendor, URL sealBase)Defines and returns a newPackageusing the specified information.booleanPackage. isSealed(URL url)Indicates whether this package is sealed with respect to the specified URL. -
Uses of URL in java.net
Fields in java.net declared as URL Modifier and Type Field Description protected URLURLConnection. urlThe URL which represents the remote target of thisURLConnection.Methods in java.net that return URL Modifier and Type Method Description URLURLClassLoader. findResource(String name)Returns an URL referencing the specified resource ornullif the resource could not be found.URLJarURLConnection. getJarFileURL()Gets the URL to the JAR-file referenced by thisJarURLConnection.protected URLAuthenticator. getRequestingURL()Returns the URL of the authentication request.URLURLConnection. getURL()Returns the URL represented by thisURLConnection.URL[]URLClassLoader. getURLs()Returns the search list of thisURLClassLoader.URLURI. toURL()Converts this URI instance to a URL.Methods in java.net that return types with arguments of type URL Modifier and Type Method Description Enumeration<URL>URLClassLoader. findResources(String name)Returns all known URLs which point to the specified resource.Methods in java.net with parameters of type URL Modifier and Type Method Description protected voidURLClassLoader. addURL(URL url)Adds the specified URL to the search list.protected PackageURLClassLoader. definePackage(String packageName, Manifest manifest, URL url)Defines a new package using the information extracted from the specified manifest.protected booleanURLStreamHandler. equals(URL a, URL b)Returns true ifaandbhave the same protocol, host, port, file, and reference.protected InetAddressURLStreamHandler. getHostAddress(URL url)Returns the host address ofurl.protected intURLStreamHandler. hashCode(URL url)Returns the hash code ofurl.protected booleanURLStreamHandler. hostsEqual(URL a, URL b)Returns true if the hosts ofaandbare equal.static URLClassLoaderURLClassLoader. newInstance(URL[] urls)Returns a newURLClassLoaderinstance for the given URLs and the systemClassLoaderas its parent.static URLClassLoaderURLClassLoader. newInstance(URL[] urls, ClassLoader parentCl)Returns a newURLClassLoaderinstance for the given URLs and the specifiedClassLoaderas its parent.protected abstract URLConnectionURLStreamHandler. openConnection(URL u)Establishes a new connection to the resource specified by the URLu.protected URLConnectionURLStreamHandler. openConnection(URL u, Proxy proxy)Establishes a new connection to the resource specified by the URLuusing the givenproxy.protected voidURLStreamHandler. parseURL(URL url, String spec, int start, int end)Parses the clear text URL instrinto a URL object.static PasswordAuthenticationAuthenticator. requestPasswordAuthentication(String rHost, InetAddress rAddr, int rPort, String rProtocol, String rPrompt, String rScheme, URL rURL, Authenticator.RequestorType reqType)Invokes the methods of the registered authenticator to get the authentication info.booleanURL. sameFile(URL otherURL)Returns true if this URL refers to the same resource asotherURL.protected booleanURLStreamHandler. sameFile(URL a, URL b)Returns true ifaandbhave the same protocol, host, port and file.protected voidURLStreamHandler. setURL(URL u, String protocol, String host, int port, String file, String ref)Deprecated.Use setURL(URL, String String, int, String, String, String, String, String) instead.protected voidURLStreamHandler. setURL(URL u, String protocol, String host, int port, String authority, String userInfo, String path, String query, String ref)Sets the fields of the URLuto the values of the supplied arguments.protected StringURLStreamHandler. toExternalForm(URL url)Returns the clear text representation of a given URL using HTTP format.Constructors in java.net with parameters of type URL Constructor Description HttpURLConnection(URL url)Constructs a newHttpURLConnectioninstance pointing to the resource specified by theurl.JarURLConnection(URL url)Constructs an instance ofJarURLConnectionthat refers to the specified URL.URL(URL context, String spec)Creates a new URL by resolvingspecrelative tocontext.URL(URL context, String spec, URLStreamHandler handler)Creates a new URL by resolvingspecrelative tocontext.URLClassLoader(URL[] urls)Constructs a newURLClassLoaderinstance.URLClassLoader(URL[] urls, ClassLoader parent)Constructs a new URLClassLoader instance.URLClassLoader(URL[] searchUrls, ClassLoader parent, URLStreamHandlerFactory factory)Constructs a newURLClassLoaderinstance.URLConnection(URL url)Creates a newURLConnectioninstance pointing to the resource specified by the given URL. -
Uses of URL in java.security
Methods in java.security that return URL Modifier and Type Method Description URLCodeSource. getLocation()Constructors in java.security with parameters of type URL Constructor Description CodeSource(URL location, Certificate[] certs)CodeSource(URL location, CodeSigner[] signers) -
Uses of URL in java.sql
Methods in java.sql that return URL Modifier and Type Method Description URLCallableStatement. getURL(int parameterIndex)Gets the value of a specified JDBCDATALINKparameter as ajava.net.URL.URLCallableStatement. getURL(String parameterName)Returns the named parameter's JDBCDATALINKvalue in a new Javajava.net.URL.URLResultSet. getURL(int columnIndex)Gets the value of a column specified by column index as ajava.net.URL.URLResultSet. getURL(String columnName)Gets the value of a column specified by column name as ajava.net.URLobject.URLSQLInput. readURL()Reads the next attribute in the stream (SQL DATALINK value) and returns it as ajava.net.URLobject.Methods in java.sql with parameters of type URL Modifier and Type Method Description voidCallableStatement. setURL(String parameterName, URL theURL)Sets the value of a specified parameter to the suppliedjava.net.URL.voidPreparedStatement. setURL(int parameterIndex, URL theURL)Sets the value of a specified parameter to a suppliedjava.net.URL.voidSQLOutput. writeURL(URL theURL)Write aURLinto the output stream as an SQL DATALINK. -
Uses of URL in javax.net.ssl
Constructors in javax.net.ssl with parameters of type URL Constructor Description HttpsURLConnection(URL url)Creates a newHttpsURLConnectionwith the specifiedURL. -
Uses of URL in javax.sql
-
Uses of URL in javax.xml.validation
Methods in javax.xml.validation with parameters of type URL Modifier and Type Method Description SchemaSchemaFactory. newSchema(URL schema)Parses the specifiedURLas a schema and returns it as aSchema. -
Uses of URL in libcore.net.url
Methods in libcore.net.url with parameters of type URL Modifier and Type Method Description URLConnectionFileHandler. openConnection(URL url)Returns a connection to the a file pointed by thisURLin the file systemURLConnectionFileHandler. openConnection(URL url, Proxy proxy)The behavior of this method is the same as openConnection(URL).protected URLConnectionFtpHandler. openConnection(URL u)Open a URLConnection on the given URL.protected URLConnectionFtpHandler. openConnection(URL url, Proxy proxy)Returns a connection, which is established via theproxy, to the FTP server specified by thisURL.protected URLConnectionJarHandler. openConnection(URL u)Returns a connection to the jar file pointed by thisURLin the file systemprotected voidFileHandler. parseURL(URL url, String spec, int start, int end)Parse thestringstr intoURLu which already have the context properties.protected voidJarHandler. parseURL(URL url, String spec, int start, int limit)protected StringJarHandler. toExternalForm(URL url)Build and return the externalized string representation of url.Constructors in libcore.net.url with parameters of type URL Constructor Description FileURLConnection(URL url)Creates an instance ofFileURLConnectionfor establishing a connection to the file pointed by thisURLFtpURLConnection(URL url)FtpURLConnection constructor comment.FtpURLConnection(URL url, Proxy proxy)FtpURLConnection constructor.JarURLConnectionImpl(URL url) -
Uses of URL in SQLite.JDBC2z
Methods in SQLite.JDBC2z that return URL Modifier and Type Method Description URLJDBCPreparedStatement. getURL(int parameterIndex)URLJDBCPreparedStatement. getURL(String parameterName)URLJDBCResultSet. getURL(int colIndex)URLJDBCResultSet. getURL(String colName)Methods in SQLite.JDBC2z with parameters of type URL Modifier and Type Method Description voidJDBCPreparedStatement. setURL(int parameterIndex, URL url)
File.toURI()andURI.toURL()to correctly escape illegal characters.