Class WebServiceTesterServlet
- java.lang.Object
-
- jakarta.servlet.GenericServlet
-
- jakarta.servlet.http.HttpServlet
-
- org.glassfish.webservices.monitoring.WebServiceTesterServlet
-
- All Implemented Interfaces:
jakarta.servlet.Servlet,jakarta.servlet.ServletConfig,Serializable
public class WebServiceTesterServlet extends jakarta.servlet.http.HttpServletThis servlet is responsible for testing web-services.- Author:
- Jerome Dochez
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WebServiceTesterServlet(WebServiceEndpoint ep)Creates a new instance of WebServiceTesterServlet
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static booleancheckValidDnsName(String decodedServerName)protected static booleancheckValidIpv4DottedDecimal(String decodedServerName)voiddoGet(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res)voiddoPost(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res)static voidinvoke(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, WebServiceEndpoint endpoint)-
Methods inherited from class jakarta.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, init, service, service
-
-
-
-
Constructor Detail
-
WebServiceTesterServlet
public WebServiceTesterServlet(WebServiceEndpoint ep)
Creates a new instance of WebServiceTesterServlet- Parameters:
ep- endpoint to monitor
-
-
Method Detail
-
invoke
public static void invoke(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, WebServiceEndpoint endpoint)
-
doGet
public void doGet(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) throws jakarta.servlet.ServletException, IOException- Overrides:
doGetin classjakarta.servlet.http.HttpServlet- Throws:
jakarta.servlet.ServletExceptionIOException
-
doPost
public void doPost(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) throws jakarta.servlet.ServletException, IOException- Overrides:
doPostin classjakarta.servlet.http.HttpServlet- Throws:
jakarta.servlet.ServletExceptionIOException
-
checkValidIpv4DottedDecimal
protected static boolean checkValidIpv4DottedDecimal(String decodedServerName)
-
checkValidDnsName
protected static boolean checkValidDnsName(String decodedServerName)
-
-