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.HttpServlet
This 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 boolean
checkValidDnsName(String decodedServerName)
protected static boolean
checkValidIpv4DottedDecimal(String decodedServerName)
void
doGet(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res)
void
doPost(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res)
static void
invoke(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:
doGet
in classjakarta.servlet.http.HttpServlet
- Throws:
jakarta.servlet.ServletException
IOException
-
doPost
public void doPost(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) throws jakarta.servlet.ServletException, IOException
- Overrides:
doPost
in classjakarta.servlet.http.HttpServlet
- Throws:
jakarta.servlet.ServletException
IOException
-
checkValidIpv4DottedDecimal
protected static boolean checkValidIpv4DottedDecimal(String decodedServerName)
-
checkValidDnsName
protected static boolean checkValidDnsName(String decodedServerName)
-
-