public interface Server<T extends Server> extends HasLifecycle<T>
Modifier and Type | Method and Description |
---|---|
default void |
addHandler(org.openqa.selenium.remote.http.HttpMethod method,
java.lang.String urlTemplate,
java.util.function.BiFunction<Injector,org.openqa.selenium.remote.http.HttpRequest,CommandHandler> handler) |
void |
addHandler(java.util.function.Predicate<org.openqa.selenium.remote.http.HttpRequest> selector,
java.util.function.BiFunction<Injector,org.openqa.selenium.remote.http.HttpRequest,CommandHandler> handler) |
void |
addServlet(java.lang.Class<? extends javax.servlet.Servlet> servlet,
java.lang.String pathSpec)
Deprecated.
|
void |
addServlet(javax.servlet.Servlet servlet,
java.lang.String pathSpec)
Deprecated.
|
static java.util.function.Predicate<org.openqa.selenium.remote.http.HttpRequest> |
delete(java.lang.String template) |
static java.util.function.Predicate<org.openqa.selenium.remote.http.HttpRequest> |
get(java.lang.String template) |
java.net.URL |
getUrl() |
boolean |
isStarted() |
static java.util.function.Predicate<org.openqa.selenium.remote.http.HttpRequest> |
post(java.lang.String template) |
start, stop
boolean isStarted()
@Deprecated void addServlet(java.lang.Class<? extends javax.servlet.Servlet> servlet, java.lang.String pathSpec)
CommandHandler
s for everything, we leave this escape hatch.@Deprecated void addServlet(javax.servlet.Servlet servlet, java.lang.String pathSpec)
CommandHandler
s for everything, we leave this escape hatch.void addHandler(java.util.function.Predicate<org.openqa.selenium.remote.http.HttpRequest> selector, java.util.function.BiFunction<Injector,org.openqa.selenium.remote.http.HttpRequest,CommandHandler> handler)
java.net.URL getUrl()
default void addHandler(org.openqa.selenium.remote.http.HttpMethod method, java.lang.String urlTemplate, java.util.function.BiFunction<Injector,org.openqa.selenium.remote.http.HttpRequest,CommandHandler> handler)
static java.util.function.Predicate<org.openqa.selenium.remote.http.HttpRequest> delete(java.lang.String template)
static java.util.function.Predicate<org.openqa.selenium.remote.http.HttpRequest> get(java.lang.String template)
static java.util.function.Predicate<org.openqa.selenium.remote.http.HttpRequest> post(java.lang.String template)