@Header(value="Referer") public class Referer extends BasicUriHeader
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.
Constructor and Description |
---|
Referer(Object value)
Constructor
|
Referer(String value)
Constructor
|
Modifier and Type | Method and Description |
---|---|
static Referer |
of(Object value)
Convenience creator.
|
static Referer |
of(Supplier<?> value)
Convenience creator using supplier.
|
asURI, of, of
assertName, assertValue, canCast, cast, eqIC, equals, getElements, getName, getRawValue, getValue, hashCode, isSupplier, of, ofPair, toString, unwrap
Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.