Package com.verisign.epp.serverstub
Class ControllerServlet
java.lang.Object
jakarta.servlet.GenericServlet
jakarta.servlet.http.HttpServlet
com.verisign.epp.serverstub.ControllerServlet
- All Implemented Interfaces:
jakarta.servlet.Servlet,jakarta.servlet.ServletConfig,Serializable
public class ControllerServlet
extends jakarta.servlet.http.HttpServlet
EPP Server Stub HTTP Controller Servlet. This Servlet, will route EPP
commands to the appropriate handlers and return the result to the client.
- See Also:
-
Field Summary
Fields inherited from class jakarta.servlet.http.HttpServlet
LEGACY_DO_HEAD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoGet(jakarta.servlet.http.HttpServletRequest aRequest, jakarta.servlet.http.HttpServletResponse aResponse) Process the HTTP GET request based on draft-ietf-regext-epp-https-03 and before.voiddoPost(jakarta.servlet.http.HttpServletRequest aRequest, jakarta.servlet.http.HttpServletResponse aResponse) Process the HTTP POST request.voidinit(jakarta.servlet.ServletConfig config) Constructor.Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, serviceMethods inherited from class jakarta.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
-
Constructor Details
-
ControllerServlet
public ControllerServlet()
-
-
Method Details
-
init
public void init(jakarta.servlet.ServletConfig config) throws jakarta.servlet.ServletException Constructor.- Specified by:
initin interfacejakarta.servlet.Servlet- Overrides:
initin classjakarta.servlet.http.HttpServlet- Parameters:
config- Servlet configuration- Throws:
jakarta.servlet.ServletException- Error initializing the servlet
-
doPost
public void doPost(jakarta.servlet.http.HttpServletRequest aRequest, jakarta.servlet.http.HttpServletResponse aResponse) throws jakarta.servlet.ServletException, IOException Process the HTTP POST request. Support for POST with an empty body to start the EoH connection is supported based on draft-ietf-regext-epp-https-04 and after.- Overrides:
doPostin classjakarta.servlet.http.HttpServlet- Parameters:
aRequest- HTTP requestaResponse- HTTP response- Throws:
jakarta.servlet.ServletException- Exception processing the HTTP requestIOException- Exception reading and writing from/to the streams
-
doGet
public void doGet(jakarta.servlet.http.HttpServletRequest aRequest, jakarta.servlet.http.HttpServletResponse aResponse) throws jakarta.servlet.ServletException, IOException Process the HTTP GET request based on draft-ietf-regext-epp-https-03 and before.- Overrides:
doGetin classjakarta.servlet.http.HttpServlet- Parameters:
aRequest- HTTP requestaResponse- HTTP response- Throws:
jakarta.servlet.ServletException- Exception processing the HTTP requestIOException- Exception reading and writing from/to the streams
-