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, servicepublic static final String BASEURL_SUBST
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletjavax.servlet.ServletExceptionpublic void destroy()
destroy in interface javax.servlet.Servletdestroy in class javax.servlet.GenericServletpublic String getServletInfo()
getServletInfo in interface javax.servlet.ServletgetServletInfo in class javax.servlet.GenericServletprotected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException,
javax.servlet.ServletException
doGet in class javax.servlet.http.HttpServletIOExceptionjavax.servlet.ServletExceptionprotected void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException,
javax.servlet.ServletException
doPost in class javax.servlet.http.HttpServletIOExceptionjavax.servlet.ServletExceptionpublic static String getXmlSyntaxDocumentation() throws IOException, TransformerException
IOExceptionTransformerExceptionCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.