public class RedirectServlet
extends javax.servlet.http.HttpServlet
This exists because in some instances we may want to redirect to the simple search ui, rather than the Cesium based search ui or even to a load balancer.
Constructor and Description |
---|
RedirectServlet() |
Modifier and Type | Method and Description |
---|---|
RedirectConfiguration |
getRedirectConfiguration() |
void |
service(javax.servlet.http.HttpServletRequest servletRequest,
javax.servlet.http.HttpServletResponse servletResponse) |
void |
setRedirectConfiguration(RedirectConfiguration redirectConfiguration) |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
public void service(javax.servlet.http.HttpServletRequest servletRequest, javax.servlet.http.HttpServletResponse servletResponse) throws javax.servlet.ServletException, IOException
service
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
public RedirectConfiguration getRedirectConfiguration()
public void setRedirectConfiguration(RedirectConfiguration redirectConfiguration)
This work is licensed under a Creative Commons Attribution 4.0 International License.