public final class Referer extends HeaderUri
This is the address of the previous web page from which a link to the currently requested page was followed. (The word “referrer” has been misspelled in the RFC as well as in most implementations to the point that it has become standard usage and is considered correct terminology)
Referer: http://en.wikipedia.org/wiki/Main_Page
Referer = "Referer" ":" ( absoluteURI | relativeURI )
Example:
Referer: http://www.w3.org/hypertext/DataSources/Overview.html
If the field value is a relative URI, it SHOULD be interpreted relative to the Request-URI. The URI MUST NOT include a fragment. See section 15.1.3 for security considerations.
Modifier and Type | Method and Description |
---|---|
static Referer |
forString(String value)
Returns a parsed
Referer header. |
Copyright © 2018 Apache. All rights reserved.