All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.thoughtworks.selenium.grid.hub.management.HubServlet Maven / Gradle / Ivy

The newest version!
package com.thoughtworks.selenium.grid.hub.management;

import com.thoughtworks.selenium.grid.hub.HubRegistry;

import javax.servlet.http.HttpServlet;

/**
 * Base class for all servlets exposed by Selenium Grid Hub.
 *
 *
 * Provides access to the global application registry via a method
 * that can easily be overriden in unit tests.
 */
public class HubServlet extends HttpServlet {

    /**
     * Application Registry (singleton)
     *
     * @return A valid application registry. Never null.
     */
    protected HubRegistry registry() {
        return HubRegistry.registry();
    }
    
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy