What is the specific scheme in a URI?

I cannot find any explanation as to what exactly is the "scheme specific part" of the URI.

+12
java url uri url-scheme
source share
3 answers

From wikipedia :

All URIs and absolute URIs are formed with the name of the scheme, followed by a colon (":"), and the rest of the URIs (in legacy RFC 1738 and 2396, but not currently STD 66 / RFC 3986) are part of the scheme .

The specific part of the schema is what you have after :

Example:

  http://stackoverflow.com/questions/24077453/ scheme : sheme-specific-part 
+11
source share

Each URI begins with a schema name that refers to the specification for assigning identifiers within that schema. Thus, URI syntax is an integrated and extensible naming system in which each specification of a scheme can further limit the syntax and semantics of identifiers using this scheme.

See this section of the rfc URI http://tools.ietf.org/html/rfc3986#section-3.1

0
source share

A specific scheme means simply determining which protocol is used by the URL. HTTP or HTTPS. So just add them to the URL to work fine. Specific schemes http: // localhost: 8080 / api / notes

Without circuit local: 8080 / API / notes

0
source share

All Articles