Package google.registry.util
Class ProxyHttpHeaders
java.lang.Object
google.registry.util.ProxyHttpHeaders
Utility class of HTTP header names used for HTTP calls between Nomulus and the proxy.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
HTTP header name used to pass the certificate hash from the proxy to Nomulus.static final String
HTTP header name passed from Nomulus to proxy to indicate that an EPP session should be closed.static final String
Fallback HTTP header name used to pass the client IP address from the proxy to Nomulus.static final String
HTTP header name used to pass the client IP address from the proxy to Nomulus. -
Method Summary
-
Field Details
-
CERTIFICATE_HASH
HTTP header name used to pass the certificate hash from the proxy to Nomulus.- See Also:
-
EPP_SESSION
HTTP header name passed from Nomulus to proxy to indicate that an EPP session should be closed.- See Also:
-
IP_ADDRESS
HTTP header name used to pass the client IP address from the proxy to Nomulus.- See Also:
-
FALLBACK_IP_ADDRESS
Fallback HTTP header name used to pass the client IP address from the proxy to Nomulus.Note that Java 17's servlet implementation (at least on App Engine) injects some seemingly unrelated addresses into this header. We only use this as a fallback so the proxy can transition to use the above header that should not be interfered with.
- See Also:
-