public class H2OHttpViewImpl
extends java.lang.Object
implements water.webserver.iface.H2OHttpView
Constructor and Description |
---|
H2OHttpViewImpl(water.webserver.iface.H2OHttpConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
acceptRequests() |
boolean |
authenticationHandler(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
boolean |
gateHandler(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
java.util.Collection<water.webserver.iface.RequestAuthExtension> |
getAuthExtensions() |
water.webserver.iface.H2OHttpConfig |
getConfig() |
java.lang.String |
getScheme() |
java.util.LinkedHashMap<java.lang.String,java.lang.Class<? extends javax.servlet.http.HttpServlet>> |
getServlets() |
java.util.LinkedHashMap<java.lang.String,java.lang.Class<? extends water.webserver.iface.H2OWebsocketServlet>> |
getWebsockets() |
protected boolean |
isAcceptingRequests() |
boolean |
loginHandler(java.lang.String target,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
boolean |
proxyLoginHandler(java.lang.String target,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
public H2OHttpViewImpl(water.webserver.iface.H2OHttpConfig config)
public void acceptRequests()
public java.lang.String getScheme()
public java.util.LinkedHashMap<java.lang.String,java.lang.Class<? extends javax.servlet.http.HttpServlet>> getServlets()
getServlets
in interface water.webserver.iface.H2OHttpView
public java.util.LinkedHashMap<java.lang.String,java.lang.Class<? extends water.webserver.iface.H2OWebsocketServlet>> getWebsockets()
getWebsockets
in interface water.webserver.iface.H2OHttpView
public boolean authenticationHandler(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException
authenticationHandler
in interface water.webserver.iface.H2OHttpView
java.io.IOException
public boolean gateHandler(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
gateHandler
in interface water.webserver.iface.H2OHttpView
protected boolean isAcceptingRequests()
public water.webserver.iface.H2OHttpConfig getConfig()
getConfig
in interface water.webserver.iface.H2OHttpView
public java.util.Collection<water.webserver.iface.RequestAuthExtension> getAuthExtensions()
getAuthExtensions
in interface water.webserver.iface.H2OHttpView
public boolean loginHandler(java.lang.String target, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException
loginHandler
in interface water.webserver.iface.H2OHttpView
java.io.IOException
public boolean proxyLoginHandler(java.lang.String target, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.io.IOException
proxyLoginHandler
in interface water.webserver.iface.H2OHttpView
java.io.IOException