Class Protocol.FrontendProtocol

java.lang.Object
google.registry.proxy.Protocol.FrontendProtocol
All Implemented Interfaces:
Protocol
Enclosing interface:
Protocol

public abstract static class Protocol.FrontendProtocol extends Object implements Protocol
Connection parameters for a connection from the client to the proxy.

This protocol is associated to a NioSocketChannel established by remote peer connecting to the given port that the proxy is listening on.

  • Constructor Details

    • FrontendProtocol

      public FrontendProtocol()
  • Method Details

    • relayProtocol

      @Nullable public abstract Protocol.BackendProtocol relayProtocol()
      The Protocol.BackendProtocol used to establish a relay channel and relay the traffic to. Not required for health check protocol or HTTP(S) redirect.
    • hasBackend

      public abstract boolean hasBackend()
      Whether this FrontendProtocol relays to a BackendProtocol. All proxied traffic must be represented by a protocol that has a backend.