| javax.servlet.http.HttpServlet org.cougaar.tools.csmart.ui.servlet.SearchServlet
SearchServlet | public class SearchServlet extends HttpServlet (Code) | | Servlet that searches the Blackboard for all UniqueObjects that
are connected to a given Set of UID s.
The user specifies:
- a "?limit=.." is an integer limit for the number of object
to find. FIXME over-limit action
- a "?format=.." of "html" or "data" (the default is html)
- a "?find=.." of "up" or "down" (the default is "down"). "Up" links
are all the "parent" Objects (causes), and "down" links are
all the "child" Objects (effects)
- a starting Set of UID Strings (either POSTed as a
serialized Java
List or, if not POSTed, sent as a
single "?uid=.." URL parameter)
The result is a List of PropertyTree s for all the
related UniqueObjects.
Can be loaded manually by including this line in an agent's .ini configuration file:
plugin = org.cougaar.core.servlet.SimpleServletComponent(org.cougaar.tools.csmart.ui.servlet.SearchServlet,
/CSMART_SearchServlet)
Is loaded from a URL on a CSMART machine, on agent 'Agent':
http://localhost:port/$Agent/CSMART_SearchServlet
See Also: TranslateUtils |
Methods inherited from javax.servlet.http.HttpServlet | protected void doDelete(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doHead(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doOptions(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doPut(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected void doTrace(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) protected long getLastModified(HttpServletRequest req)(Code)(Java Doc) protected void service(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException(Code)(Java Doc) public void service(ServletRequest req, ServletResponse res) throws ServletException, IOException(Code)(Java Doc)
|
|
|