|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.servlet.GenericServlet javax.servlet.http.HttpServlet org.biomoby.client.GraphsServlet
public class GraphsServlet
A servlet making graphs of Moby service instances, Moby data types, and Moby service types.
Field Summary | |
---|---|
static String |
ONCHANGE
|
Fields inherited from interface org.tulsoft.tools.servlets.HtmlConstants |
---|
A, ACTION, ADDRESS, ALIGN, ALT, B, BGCOLOR, BLOCKQUOTE, BODY, BORDER, BR, CELLPADDING, CELLSPACING, CHECKED, COLOR, COLS, COLSPAN, DIV, EM, FONT, FORCE, FORM, FRAME, FRAMESET, H1, H2, H3, H4, H5, HEAD, HR, HREF, HTML, IMG, INPUT, LANGUAGE, LINK, MARGINWIDTH, METHOD, MULTIPLE, NAME, NOFRAMES, NOSCRIPT, ONCLICK, ONMOUSEOUT, ONMOUSEOVER, OPTION, P, PRE, ROWS, ROWSPAN, SCRIPT, SELECT, SELECTED, SIZE, SRC, TABLE, TARGET, TD, TEXT, TH, TITLE, TR, TYPE, VALIGN, VALUE, VLINK, WIDTH |
Constructor Summary | |
---|---|
GraphsServlet()
A default constructor, used usually by a servlet engine. |
|
GraphsServlet(String mobyEndpoint,
String mobyNamespace)
A real constructor that is called when it is known what Moby registry we are going to serve for. |
Method Summary | |
---|---|
void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
An entry point... |
void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
|
static boolean |
exists(javax.servlet.http.HttpServletRequest req,
String name)
Return TRUE if the named parameter exists in given 'req' request. |
static boolean |
getBoolean(javax.servlet.http.HttpServletRequest req,
String name)
Return value of a named parameter as boolean. |
static String |
getString(javax.servlet.http.HttpServletRequest req,
String name)
Return value of a named parameter as a string (trimmed etc.). |
void |
init()
Servlet initialization... |
void |
log(String message)
|
String[] |
radioGroup(org.tulsoft.tools.servlets.Html h,
String name,
String[] values,
int checked)
|
String |
start(String tag)
|
Methods inherited from class javax.servlet.http.HttpServlet |
---|
service |
Methods inherited from class javax.servlet.GenericServlet |
---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String ONCHANGE
Constructor Detail |
---|
public GraphsServlet()
public GraphsServlet(String mobyEndpoint, String mobyNamespace) throws MobyException
MobyException
Method Detail |
---|
public void init() throws javax.servlet.ServletException
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
public void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
public void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, IOException
doPost
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
IOException
public void log(String message)
log
in class javax.servlet.GenericServlet
public static String getString(javax.servlet.http.HttpServletRequest req, String name)
req
- is the HTTP request having all parametersname
- is the name whose value is asked for
public static boolean getBoolean(javax.servlet.http.HttpServletRequest req, String name)
req
- is the HTTP request having all parametersname
- is the name whose value is asked for
public static boolean exists(javax.servlet.http.HttpServletRequest req, String name)
req
- is the HTTP request having all parametersname
- is the name whose existence is tested
public String[] radioGroup(org.tulsoft.tools.servlets.Html h, String name, String[] values, int checked)
public String start(String tag)
|
Version: 1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |