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.
|
service
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
public 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 Servlet
init
in class GenericServlet
ServletException
public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
doGet
in class HttpServlet
ServletException
IOException
public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
doPost
in class HttpServlet
ServletException
IOException
Apache Derby 10.14 API Documentation - Copyright © 2004,2018 The Apache Software Foundation. All Rights Reserved.