java.lang.Object
io.helidon.http.Forwarded
A representation of the
HeaderNames.FORWARDED
HTTP header.-
Method Summary
Modifier and TypeMethodDescriptionby()
by
directive of the forwarded header.Parse forwarded header(s) from the provided headers.static Forwarded
Create forwarded from a value of a single forwarded header, such asby=a.b.c;for=d.e.f;host=host;proto=https
.for
directive of the forwarded header.host()
host
directive of the forwarded header.proto()
proto
directive of the forwarded header.
-
Method Details
-
create
Create forwarded from a value of a single forwarded header, such asby=a.b.c;for=d.e.f;host=host;proto=https
.- Parameters:
string
- string representation of a single forwarded header- Returns:
- forwarded parsed from the string
- See Also:
-
create
Parse forwarded header(s) from the provided headers.- Parameters:
headers
- header to process- Returns:
- list of forwarded headers, will be empty if the header does not exist.
-
by
by
directive of the forwarded header.- Returns:
- by directive
-
forClient
for
directive of the forwarded header.- Returns:
- for directive
-
host
host
directive of the forwarded header. The host of the original request.- Returns:
- host directive
-
proto
proto
directive of the forwarded header. The protocol of the original request (http or https).- Returns:
- proto directive
-