pl.psnc.dl.ege.webapp.servlet
Class ValidationServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
pl.psnc.dl.ege.webapp.servlet.ValidationServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class ValidationServlet
- extends javax.servlet.http.HttpServlet
Serves validation operations in RESTful WS manner.
- See Also:
- Serialized Form
Method Summary |
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
void |
printValidationResult(javax.servlet.http.HttpServletResponse response,
ValidationResult result)
|
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, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ValidationServlet
public ValidationServlet()
- See Also:
HttpServlet.HttpServlet()
doGet
protected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Overrides:
doGet
in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
- See Also:
HttpServlet.doGet(HttpServletRequest request, HttpServletResponse response)
doPost
protected void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Overrides:
doPost
in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
java.io.IOException
- See Also:
HttpServlet.doPost(HttpServletRequest request, HttpServletResponse response)
printValidationResult
public void printValidationResult(javax.servlet.http.HttpServletResponse response,
ValidationResult result)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2010. All Rights Reserved.