public class PlotServlet
extends javax.servlet.http.HttpServlet
The service is self-documenting, so start it up and look at the top-level or 400 response to see the commands that it accepts.
Modifier and Type | Field and Description |
---|---|
static String |
BASEURL_SUBST
Replacement token for server base URL.
|
Constructor and Description |
---|
PlotServlet() |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
String |
getServletInfo() |
static String |
getXmlSyntaxDocumentation()
Returns user documentation in XML format explaining the
RESTful interface of the plot server.
|
void |
init(javax.servlet.ServletConfig config) |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
public static final String BASEURL_SUBST
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
public void destroy()
destroy
in interface javax.servlet.Servlet
destroy
in class javax.servlet.GenericServlet
public String getServletInfo()
getServletInfo
in interface javax.servlet.Servlet
getServletInfo
in class javax.servlet.GenericServlet
protected void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException
doGet
in class javax.servlet.http.HttpServlet
IOException
javax.servlet.ServletException
protected void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOException, javax.servlet.ServletException
doPost
in class javax.servlet.http.HttpServlet
IOException
javax.servlet.ServletException
public static String getXmlSyntaxDocumentation() throws IOException, TransformerException
IOException
TransformerException
Copyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.