|Enum Constant and Description|
Only process the standard
No parsing shall be performed.
Only process the non standard but widely used
|Modifier and Type||Method and Description|
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in the order they are declared.
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
public static final AllowForwardHeaders NONE
public static final AllowForwardHeaders FORWARD
Forwardheader as defined by https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Forwarded
public static final AllowForwardHeaders X_FORWARD
X-Forward-*headers. These headers are not official standards but widely used. Users are advised to avoid them for new applications.
public static final AllowForwardHeaders ALL
X_FORWARD. Be aware that mixing the 2 headers can open security holes as specially crafted requests that are not validated as proxy level can allow bypassing the proxy desired forward value. For example, a proxy will add the
X-Forward-*headers to a request but not filter out if the original request includes the
public static AllowForwardHeaders values()
for (AllowForwardHeaders c : AllowForwardHeaders.values()) System.out.println(c);
public static AllowForwardHeaders valueOf(String name)
Copyright © 2021 Eclipse. All rights reserved.