Class AbstractProxyRestAdapter

    • Constructor Detail

      • AbstractProxyRestAdapter

        public AbstractProxyRestAdapter()
    • Method Detail

      • getServices

        protected abstract org.glassfish.hk2.api.ServiceLocator getServices()
      • getConfig

        protected abstract Config getConfig()
      • getName

        protected abstract String getName()
      • getHttpService

        public org.glassfish.grizzly.http.server.HttpHandler getHttpService()
        Description copied from interface: Adapter
        Get the underlying Grizzly HttpHandler.
        Specified by:
        getHttpService in interface Adapter
        Returns:
        the underlying Grizzly HttpHandler.
      • getContextRoot

        public abstract String getContextRoot()
        Context root this adapter is responsible for handling.
        Specified by:
        getContextRoot in interface Adapter
        Returns:
        context root
      • getListenPort

        public int getListenPort()
        Description copied from interface: Adapter
        Returns the listener port for this adapter
        Specified by:
        getListenPort in interface Adapter
        Returns:
        listener port
      • getVirtualServers

        public List<String> getVirtualServers()
        Description copied from interface: Adapter
        Returns the virtual servers supported by this adapter
        Specified by:
        getVirtualServers in interface Adapter
        Returns:
        List<String> the virtual server list supported by the adapter
      • isRegistered

        public boolean isRegistered()
        Description copied from interface: Adapter
        Checks whether this adapter has been registered as a network endpoint.
        Specified by:
        isRegistered in interface Adapter
      • setRegistered

        public void setRegistered​(boolean registered)
        Description copied from interface: Adapter
        Marks this adapter as having been registered or unregistered as a network endpoint
        Specified by:
        setRegistered in interface Adapter