public class ServletInfo extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
realpath |
static String |
RESOURCEDIRNAME |
protected String |
server |
protected javax.servlet.http.HttpServlet |
servlet |
protected javax.servlet.ServletConfig |
servletconfig |
protected javax.servlet.ServletContext |
servletcontext |
protected String |
servletname |
static String |
WEBINFPPATH |
Constructor and Description |
---|
ServletInfo(javax.servlet.http.HttpServlet sv) |
Modifier and Type | Method and Description |
---|---|
String |
getContextPath() |
protected String |
getRealPath(String virtual)
Return the absolute path for the "webapp/d4ts" directory
(or its equivalent)
|
String |
getServer() |
javax.servlet.http.HttpServlet |
getServlet() |
javax.servlet.ServletConfig |
getServletconfig() |
javax.servlet.ServletContext |
getServletcontext() |
String |
getServletname() |
void |
setServer(String url) |
public static final String WEBINFPPATH
public static final String RESOURCEDIRNAME
protected javax.servlet.http.HttpServlet servlet
protected javax.servlet.ServletConfig servletconfig
protected javax.servlet.ServletContext servletcontext
protected String servletname
protected String server
protected String realpath
public ServletInfo(javax.servlet.http.HttpServlet sv) throws DapException
DapException
public javax.servlet.http.HttpServlet getServlet()
public javax.servlet.ServletConfig getServletconfig()
public javax.servlet.ServletContext getServletcontext()
public String getServletname()
protected String getRealPath(String virtual)
public String getContextPath()
public String getServer()
public void setServer(String url)
Copyright © 1999–2018 UCAR/Unidata. All rights reserved.