@WebServlet(urlPatterns="/classloader")
public class ClassLoaderServlet
extends javax.servlet.http.HttpServlet
Constructor and Description |
---|
ClassLoaderServlet() |
Modifier and Type | Method and Description |
---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
static java.net.URI |
getJarSource(java.net.URI uri) |
static java.net.URI |
getLocationOfClass(java.lang.Class<?> clazz) |
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
protected void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
public static java.net.URI getLocationOfClass(java.lang.Class<?> clazz)
public static java.net.URI getJarSource(java.net.URI uri)