public class SimpleServerServlet
extends javax.servlet.http.HttpServlet
| Modifier and Type | Field and Description |
|---|---|
File |
baseWebappDirectory |
static String |
DEFAULT_CODE_PAGE |
protected boolean |
initializationSuccessful |
static String |
MODE_PARAMETER |
Service |
server |
protected Map<String,String> |
servletGETParameters |
protected Map<String,Map<String,String>> |
servletGETParamOptions |
protected Map<String,String> |
servletPOSTParameters |
protected Map<String,Map<String,String>> |
servletPOSTParamOptions |
static String |
utf8 |
| Constructor and Description |
|---|
SimpleServerServlet() |
SimpleServerServlet(boolean localInit) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
analyze(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
String |
constructHtmlDescription(String servletURL) |
String |
constructParameterDescription() |
String |
constructResultDescription() |
protected void |
declareServletParameters() |
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 |
getCustomDescription() |
String |
getHtmlForm(String serverUrl) |
protected Logger |
getLogger() |
void |
init() |
void |
init(File descriptorFile,
File serviceSpecFile) |
protected boolean |
initServer() |
String |
parameterDescription(Map<String,String> params,
Map<String,Map<String,String>> options) |
String |
transformResult(Result result,
String mode) |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic static final String utf8
public static final String MODE_PARAMETER
public static final String DEFAULT_CODE_PAGE
public File baseWebappDirectory
public Service server
protected boolean initializationSuccessful
public SimpleServerServlet(boolean localInit)
public SimpleServerServlet()
protected Logger getLogger()
protected void declareServletParameters()
protected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
doGet in class javax.servlet.http.HttpServletIOExceptionprotected void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
doPost in class javax.servlet.http.HttpServletIOExceptionprotected void analyze(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
IOExceptionpublic void init()
throws javax.servlet.ServletException
init in class javax.servlet.GenericServletjavax.servlet.ServletExceptionpublic void init(File descriptorFile, File serviceSpecFile) throws javax.servlet.ServletException
javax.servlet.ServletExceptionprotected boolean initServer()
public String getCustomDescription()
public String constructParameterDescription()
public String parameterDescription(Map<String,String> params, Map<String,Map<String,String>> options)
public String constructResultDescription()
Copyright © 2015. All rights reserved.