Class TomcatServer

  • All Implemented Interfaces:
    Server

    public class TomcatServer
    extends Object
    implements Server
    Server implementation that wraps a Server.
    Author:
    Paul Ferraro
    • Field Detail

      • server

        protected final org.apache.catalina.Server server
    • Constructor Detail

      • TomcatServer

        public TomcatServer​(TomcatRegistry registry,
                            org.apache.catalina.Server server)
        Constructs a new Server wrapping the specified catalina server.
        Parameters:
        server - a catalina server
    • Method Detail

      • getEngines

        public Iterable<Engine> getEngines()
        Description copied from interface: Server
        Returns the servlet engines associated with this server.
        Specified by:
        getEngines in interface Server
        Returns:
        the server's engines
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object