Class ProxyHttpHeaders

java.lang.Object
google.registry.util.ProxyHttpHeaders

public final class ProxyHttpHeaders extends Object
Utility class of HTTP header names used for HTTP calls between Nomulus and the proxy.
  • Field Details

    • CERTIFICATE_HASH

      public static final String CERTIFICATE_HASH
      HTTP header name used to pass the certificate hash from the proxy to Nomulus.
      See Also:
    • EPP_SESSION

      public static final String EPP_SESSION
      HTTP header name passed from Nomulus to proxy to indicate that an EPP session should be closed.
      See Also:
    • IP_ADDRESS

      public static final String IP_ADDRESS
      HTTP header name used to pass the client IP address from the proxy to Nomulus.
      See Also:
    • FALLBACK_IP_ADDRESS

      public static final String 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: