Uses of Class
java.net.URI
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 of URI in com.sun.jarsigner
Modifier 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 of URI in com.sun.net.httpserver
Modifier and TypeMethodDescriptionabstract URI
HttpExchange.getRequestURI()
Returns the requestURI
.Request.getRequestURI()
Returns the requestURI
. -
Uses of URI in com.sun.security.auth.login
ModifierConstructorDescriptionConfigFile
(URI uri) Create a newConfiguration
object from the specifiedURI
. -
Uses of URI in java.awt
-
Uses of URI in java.awt.desktop
-
Uses of URI in java.io
Modifier and TypeMethodDescriptionFile.toURI()
Constructs afile:
URI that represents this abstract pathname. -
Uses of URI in java.lang.module
Modifier 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.ModifierConstructorDescriptionprotected
ModuleReference
(ModuleDescriptor descriptor, URI location) Constructs a new instance of this class. -
Uses of URI in java.net
Modifier and TypeMethodDescriptionstatic URI
Creates 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 aURI
equivalent to this URL.Modifier and TypeMethodDescriptionCookieStore.getURIs()
Get all URIs which identify the cookies in this cookie store.Modifier and TypeMethodDescriptionvoid
CookieStore.add
(URI uri, HttpCookie cookie) Adds one HTTP cookie to the store.int
Compares this URI to another object, which must be a URI.abstract void
ProxySelector.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.abstract CacheResponse
Retrieve the cached response based on the requesting uri, request method and request headers.static URL
URL.of
(URI uri, URLStreamHandler handler) Creates a URL from a URI, as if by invokinguri.toURL()
, but associating it with the givenURLStreamHandler
, if allowed.abstract void
Sets all the applicable cookies, examples are response header fields that are named Set-Cookie2, present in the response headers into a cookie cache.void
abstract CacheRequest
ResponseCache.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.boolean
CookieStore.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.boolean
CookiePolicy.shouldAccept
(URI uri, HttpCookie cookie) Will be called to see whether or not this cookie should be accepted. -
Uses of URI in java.net.http
Modifier and TypeMethodDescriptionabstract URI
HttpRequest.uri()
Returns this request'sURI
.HttpResponse.uri()
Returns theURI
that the response was received from.Modifier and TypeMethodDescriptionWebSocket.Builder.buildAsync
(URI uri, WebSocket.Listener listener) static HttpRequest.Builder
HttpRequest.newBuilder
(URI uri) Creates anHttpRequest
builder with the given URI.Sets thisHttpRequest
's requestURI
. -
Uses of URI in java.nio.file
Modifier and TypeMethodDescriptionstatic Path
Converts the given URI to aPath
object.static FileSystem
FileSystems.getFileSystem
(URI uri) Returns a reference to an existingFileSystem
.static FileSystem
FileSystems.newFileSystem
(URI uri, Map<String, ?> env) Constructs a new file system that is identified by aURI
static FileSystem
FileSystems.newFileSystem
(URI uri, Map<String, ?> env, ClassLoader loader) Constructs a new file system that is identified by aURI
static Path
Returns aPath
by converting a URI. -
Uses of URI in java.nio.file.spi
Modifier and TypeMethodDescriptionabstract FileSystem
FileSystemProvider.getFileSystem
(URI uri) Returns an existingFileSystem
created by this provider.abstract Path
Return aPath
object by converting the givenURI
.abstract FileSystem
FileSystemProvider.newFileSystem
(URI uri, Map<String, ?> env) Constructs a newFileSystem
object identified by a URI. -
Uses of URI in java.security
Modifier and TypeMethodDescriptionDomainLoadStoreParameter.getConfiguration()
Gets the identifier for the domain configuration data.URIParameter.getURI()
Returns the URI.ModifierConstructorDescriptionDomainLoadStoreParameter
(URI configuration, Map<String, KeyStore.ProtectionParameter> protectionParams) Constructs aDomainLoadStoreParameter
for a keystore domain with the parameters used to protect keystore data.URIParameter
(URI uri) Constructs aURIParameter
with the URI pointing to data intended for an SPI implementation. -
Uses of URI in java.security.cert
Modifier and TypeMethodDescriptionPKIXRevocationChecker.getOcspResponder()
Gets the URI that identifies the location of the OCSP responder.URICertStoreParameters.getURI()
Returns the URI used to construct thisURICertStoreParameters
object.Modifier and TypeMethodDescriptionvoid
PKIXRevocationChecker.setOcspResponder
(URI uri) Sets the URI that identifies the location of the OCSP responder.ModifierConstructorDescriptionCreates an instance ofURICertStoreParameters
with the specified URI. -
Uses of URI in javax.print
-
Uses of URI in javax.print.attribute
-
Uses of URI in javax.print.attribute.standard
ModifierConstructorDescriptionDestination
(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 newPrinterURI
attribute with the specifiedURI
. -
Uses of URI in javax.tools
Modifier and TypeFieldDescriptionprotected final URI
SimpleJavaFileObject.uri
A URI for this file object.Modifier and TypeMethodDescriptionFileObject.toUri()
Returns a URI identifying this file object.ForwardingFileObject.toUri()
SimpleJavaFileObject.toUri()
ModifierConstructorDescriptionprotected
SimpleJavaFileObject
(URI uri, JavaFileObject.Kind kind) Construct a SimpleJavaFileObject of the given kind and with the given URI. -
Uses of URI in javax.xml.catalog
Modifier and TypeMethodDescriptionstatic Catalog
CatalogManager.catalog
(CatalogFeatures features, URI... uris) Creates aCatalog
object using the specified feature settings and uri(s) to one or more catalog files.static CatalogResolver
CatalogManager.catalogResolver
(CatalogFeatures features, URI... uris) Creates an instance of aCatalogResolver
using the specified feature settings and uri(s) to one or more catalog files. -
Uses of URI in jdk.security.jarsigner
Modifier and TypeMethodDescriptionJarSigner.getTsa()
Returns the URI of the Time Stamping Authority (TSA).Modifier and TypeMethodDescriptionSets the URI of the Time Stamping Authority (TSA).