public class NetServlet extends HttpServlet
These servlet configuration parameters are understood by this servlet.
portNumber- Port number to use. The default is 1527.
startNetworkServerOnInit- Starts the Derby Network Server at servlet initialization if 'true'.
tracingDirectory- Directory for trace files
| Constructor and Description |
|---|
NetServlet() |
| Modifier and Type | Method and Description |
|---|---|
void |
doGet(HttpServletRequest request,
HttpServletResponse response)
Get the form of NetServlet.
|
void |
doPost(HttpServletRequest request,
HttpServletResponse response)
Get the form of NetServlet.
|
void |
init(ServletConfig config)
Initialize the servlet.
|
servicedestroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, logpublic void init(ServletConfig config) throws ServletException
portNumber- Port number
host- Host name
traceDirectory- location of trace directory
startNetworkServerOnInit- start the server on initialization
init in interface Servletinit in class GenericServletServletExceptionpublic void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
doGet in class HttpServletServletExceptionIOExceptionpublic void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
doPost in class HttpServletServletExceptionIOExceptionApache Derby 10.14 API Documentation - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.