|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
edu.arsc.multisearch.MultisearchServlet
public class MultisearchServlet
Field Summary | |
---|---|
static java.io.PrintWriter |
web
PrintWriter object for servlet. |
Constructor Summary | |
---|---|
MultisearchServlet()
|
Method Summary | |
---|---|
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Overwrites HttpServlet's function and prints XHTML and text to the appropriate screen. |
void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Overwrites HttpServlet's doPost. |
java.lang.String |
getServletInfo()
Returns a descriptive String about Multisearch as a program. |
void |
init()
Initalizes the servlet information, including loading the error codes |
void |
printResults(java.lang.String outputFile,
java.lang.String type)
Print the results from the given output file(s). |
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, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static java.io.PrintWriter web
Constructor Detail |
---|
public MultisearchServlet()
Method Detail |
---|
public void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
doGet
in class javax.servlet.http.HttpServlet
HttpServletRequest
- HttpServletResponse
-
javax.servlet.ServletException
- when there are issues with connection/server
java.io.IOException
- when there are issuses with user inputpublic void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws javax.servlet.ServletException, java.io.IOException
doPost
in class javax.servlet.http.HttpServlet
HttpServletRequest
- HttpServletResponse
-
javax.servlet.ServletException
- when there are issues with connection/server
java.io.IOException
- when there are issuses with user inputpublic void init()
init
in class javax.servlet.GenericServlet
public void printResults(java.lang.String outputFile, java.lang.String type)
public java.lang.String getServletInfo()
getServletInfo
in interface javax.servlet.Servlet
getServletInfo
in class javax.servlet.GenericServlet
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |