Class Endpoint


  • public abstract class Endpoint
    extends Object
    Abstraction represents an endpoint, which could be registered on NetworkProxy.
    Author:
    Alexey Stashok
    • Constructor Detail

      • Endpoint

        public Endpoint()
    • Method Detail

      • getAddress

        public abstract InetAddress getAddress()
        Returns:
        the InetAddress on which this endpoint is listening
      • getPort

        public abstract int getPort()
        Returns the listener port for this endpoint
        Returns:
        listener port
      • getContextRoot

        public abstract String getContextRoot()
        Returns the context root for this endpoint
        Returns:
        context root
      • getEndpointHandler

        public abstract org.glassfish.grizzly.http.server.HttpHandler getEndpointHandler()
        Get the underlying Grizzly HttpHandler.
        Returns:
        the underlying Grizzly HttpHandler.
      • getVirtualServers

        public abstract Collection<String> getVirtualServers()
        Returns the virtual servers supported by this endpoint
        Returns:
        List<String> the virtual server list supported by the endpoint