|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.GenericServlet javax.servlet.http.HttpServlet org.apache.derby.drda.NetServlet
This servlet can be used to start Derby Network Server from a remote location.
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 Summary | |
NetServlet()
|
Method Summary | |
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Get the form of NetServlet. |
void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Get the form of NetServlet. |
java.lang.String |
getHtmlLabelledMessageInstance(org.apache.derby.iapi.tools.i18n.LocalizedResource localUtil,
java.lang.String key,
java.lang.String id)
get an HTML labelled message from the resource bundle file, according to the given key. |
void |
init(javax.servlet.ServletConfig config)
Initialize the servlet. |
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NetServlet()
Method Detail |
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
portNumber- Port number
host- Host name
traceDirectory- location of trace directory
startNetworkServerOnInit- start the server on initialization
javax.servlet.ServletException
public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
javax.servlet.ServletException
java.io.IOException
public void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
javax.servlet.ServletException
java.io.IOException
public java.lang.String getHtmlLabelledMessageInstance(org.apache.derby.iapi.tools.i18n.LocalizedResource localUtil, java.lang.String key, java.lang.String id)
|
Built on Wed 2007-08-01 06:53:39-0700, from revision 561794 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |