Servlet, ServletConfigpublic 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 | Description |
|---|---|
NetServlet() |
| Modifier and Type | Method | 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.
|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, logservicepublic 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, java.io.IOException
doGet in class HttpServletServletExceptionjava.io.IOExceptionpublic void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, java.io.IOException
doPost in class HttpServletServletExceptionjava.io.IOExceptionApache Derby 10.14 API Documentation - Copyright © 2004,2017 The Apache Software Foundation. All Rights Reserved.