Uses of Class
java.net.URI
Packages that useURI
Package
Description
This package comprises the interfaces and classes used to define the signing mechanism used by the
jarsigner tool.Provides a simple high-level Http server API, which can be used to build embedded HTTP servers.
Provides an implementation of
Configuration.Contains all of the classes for creating user interfaces and for painting graphics and images.
Provides interfaces and classes for interaction with various desktop capabilities.
Provides for system input and output through data streams, serialization and the file system.
Classes to support module descriptors and creating configurations of modules by means of resolution and service binding.
Provides the classes for implementing networking applications.
HTTP Client and WebSocket APIs
Defines interfaces and classes for the Java virtual machine to access files, file attributes, and file systems.
Service-provider classes for the
java.nio.file package.Provides the classes and interfaces for the security framework.
Provides classes and interfaces for parsing and managing certificates, certificate revocation lists (CRLs), and certification paths.
Provides the principal classes and interfaces for the Java Print Service API.
Provides classes and interfaces that describe the types of Java Print Service attributes and how they can be collected into attribute sets.
Package
javax.print.attribute.standard contains classes for specific printing attributes.Provides interfaces for tools which can be invoked from a program, for example, compilers.
Provides the classes for implementing XML Catalogs OASIS Standard V1.1, 7 October 2005.
This package defines APIs for signing jar files.
Uses ofURI incom.sun.jarsigner
Methods incom.sun.jarsigner that returnURIModifier and TypeMethodDescriptionContentSignerParameters.getTimestampingAuthority()Deprecated, for removal: This API element is subject to removal in a future version.Retrieves the identifier for a Timestamping Authority (TSA).Uses ofURI incom.sun.net.httpserver
Methods incom.sun.net.httpserver that returnURIUses ofURI incom.sun.security.auth.login
Constructors incom.sun.security.auth.login with parameters of typeURIModifierConstructorDescriptionConfigFile(URI uri) Create a newConfigurationobject from the specifiedURI.Uses ofURI injava.awt
Uses ofURI injava.awt.desktop
Methods injava.awt.desktop that returnURIConstructors injava.awt.desktop with parameters of typeURIUses ofURI injava.io
Modifier and TypeMethodDescriptionFile.toURI()Constructs afile:URI that represents this abstract pathname.Uses ofURI injava.lang.module
Methods injava.lang.module that return types with arguments of typeURIModifier and TypeMethodDescriptionFinds a resource, returning a URI to the resource in the module.ModuleReference.location()Returns the location of this module's content, if known.Constructors injava.lang.module with parameters of typeURIModifierConstructorDescriptionprotectedModuleReference(ModuleDescriptor descriptor,URI location) Constructs a new instance of this class.Uses ofURI injava.net
Modifier and TypeMethodDescriptionstaticURICreates a URI by parsing the given string.URI.normalize()Normalizes this URI's path.URI.parseServerAuthority()Attempts to parse this URI's authority component, if defined, into user-information, host, and port components.URI.relativize(URI uri) Relativizes the given URI against this URI.Constructs a new URI by parsing the given string and then resolving it against this URI.Resolves the given URI against this URI.URL.toURI()Returns aURIequivalent to this URL.Modifier and TypeMethodDescriptionCookieStore.getURIs()Get all URIs which identify the cookies in this cookie store.Modifier and TypeMethodDescriptionvoidCookieStore.add(URI uri,HttpCookie cookie) Adds one HTTP cookie to the store.intCompares this URI to another object, which must be a URI.abstract voidProxySelector.connectFailed(URI uri,SocketAddress sa,IOException ioe) Called to indicate that a connection could not be established to a proxy/socks server.Gets all the applicable cookies from a cookie cache for the specified uri in the request header.Retrieve cookies associated with given URI, or whose domain matches the given URI.abstractCacheResponseRetrieve the cached response based on the requesting uri, request method and request headers.abstract voidSets all the applicable cookies, examples are response header fields that are named Set-Cookie2, present in the response headers into a cookie cache.voidabstractCacheRequestResponseCache.put(URI uri,URLConnection conn) The protocol handler calls this method after a resource has been retrieved, and the ResponseCache must decide whether or not to store the resource in its cache.URI.relativize(URI uri) Relativizes the given URI against this URI.booleanCookieStore.remove(URI uri,HttpCookie cookie) Remove a cookie from store.Resolves the given URI against this URI.Selects all the applicable proxies based on the protocol to access the resource with and a destination address to access the resource at.booleanCookiePolicy.shouldAccept(URI uri,HttpCookie cookie) Will be called to see whether or not this cookie should be accepted.Uses ofURI injava.net.http
Methods injava.net.http that returnURIModifier and TypeMethodDescriptionabstractURIHttpRequest.uri()Returns this request'sURI.HttpResponse.uri()Returns theURIthat the response was received from.Methods injava.net.http with parameters of typeURIModifier and TypeMethodDescriptionWebSocket.Builder.buildAsync(URI uri,WebSocket.Listener listener) staticHttpRequest.BuilderHttpRequest.newBuilder(URI uri) Creates anHttpRequestbuilder with the given URI.Sets thisHttpRequest's requestURI.Uses ofURI injava.nio.file
Methods injava.nio.file that returnURIMethods injava.nio.file with parameters of typeURIModifier and TypeMethodDescriptionstaticPathConverts the given URI to aPathobject.staticFileSystemFileSystems.getFileSystem(URI uri) Returns a reference to an existingFileSystem.staticFileSystemFileSystems.newFileSystem(URI uri,Map<String, ?> env) Constructs a new file system that is identified by aURIstaticFileSystemFileSystems.newFileSystem(URI uri,Map<String, ?> env,ClassLoader loader) Constructs a new file system that is identified by aURIstaticPathReturns aPathby converting a URI.Uses ofURI injava.nio.file.spi
Methods injava.nio.file.spi with parameters of typeURIModifier and TypeMethodDescriptionabstractFileSystemFileSystemProvider.getFileSystem(URI uri) Returns an existingFileSystemcreated by this provider.abstractPathReturn aPathobject by converting the givenURI.abstractFileSystemFileSystemProvider.newFileSystem(URI uri,Map<String, ?> env) Constructs a newFileSystemobject identified by a URI.Uses ofURI injava.security
Methods injava.security that returnURIModifier and TypeMethodDescriptionDomainLoadStoreParameter.getConfiguration()Gets the identifier for the domain configuration data.URIParameter.getURI()Returns the URI.Constructors injava.security with parameters of typeURIModifierConstructorDescriptionDomainLoadStoreParameter(URI configuration,Map<String, KeyStore.ProtectionParameter> protectionParams) Constructs a DomainLoadStoreParameter for a keystore domain with the parameters used to protect keystore data.URIParameter(URI uri) Constructs a URIParameter with the URI pointing to data intended for an SPI implementation.Uses ofURI injava.security.cert
Methods injava.security.cert that returnURIModifier and TypeMethodDescriptionPKIXRevocationChecker.getOcspResponder()Gets the URI that identifies the location of the OCSP responder.URICertStoreParameters.getURI()Returns the URI used to construct thisURICertStoreParametersobject.Methods injava.security.cert with parameters of typeURIModifier and TypeMethodDescriptionvoidPKIXRevocationChecker.setOcspResponder(URI uri) Sets the URI that identifies the location of the OCSP responder.Constructors injava.security.cert with parameters of typeURIModifierConstructorDescriptionCreates an instance ofURICertStoreParameterswith the specified URI.Uses ofURI injavax.print
Methods injavax.print that returnURIUses ofURI injavax.print.attribute
Methods injavax.print.attribute that returnURIConstructors injavax.print.attribute with parameters of typeURIUses ofURI injavax.print.attribute.standard
Constructors injavax.print.attribute.standard with parameters of typeURIModifierConstructorDescriptionDestination(URI uri) Constructs a new destination attribute with the specifiedURI.PrinterMoreInfo(URI uri) Constructs a new printer more info attribute with the specifiedURI.Constructs a new printer more info manufacturer attribute with the specifiedURI.PrinterURI(URI uri) Constructs a newPrinterURIattribute with the specifiedURI.Uses ofURI injavax.tools
Fields injavax.tools declared asURIModifier and TypeFieldDescriptionprotected finalURISimpleJavaFileObject.uriA URI for this file object.Methods injavax.tools that returnURIModifier and TypeMethodDescriptionFileObject.toUri()Returns a URI identifying this file object.ForwardingFileObject.toUri()SimpleJavaFileObject.toUri()Constructors injavax.tools with parameters of typeURIModifierConstructorDescriptionprotectedSimpleJavaFileObject(URI uri,JavaFileObject.Kind kind) Construct a SimpleJavaFileObject of the given kind and with the given URI.Uses ofURI injavax.xml.catalog
Methods injavax.xml.catalog with parameters of typeURIModifier and TypeMethodDescriptionstaticCatalogCatalogManager.catalog(CatalogFeatures features,URI... uris) Creates aCatalogobject using the specified feature settings and uri(s) to one or more catalog files.staticCatalogResolverCatalogManager.catalogResolver(CatalogFeatures features,URI... uris) Creates an instance of aCatalogResolverusing the specified feature settings and uri(s) to one or more catalog files.Uses ofURI injdk.security.jarsigner
Methods injdk.security.jarsigner that returnURIModifier and TypeMethodDescriptionJarSigner.getTsa()Returns the URI of the Time Stamping Authority (TSA).Methods injdk.security.jarsigner with parameters of typeURIModifier and TypeMethodDescriptionSets the URI of the Time Stamping Authority (TSA).