public class ProfileQueryServlet extends QueryServlet
handlers
Constructor and Description |
---|
ProfileQueryServlet() |
Modifier and Type | Method and Description |
---|---|
protected List |
getServers(Configuration config)
Get a list of
Server s that will provide handlers to handle the query. |
protected void |
handleQuery(XMLQuery query,
List handlers,
javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Handle the query.
|
doGet, doPost, getQuery
approveAccess, getConfigBean, getConfiguration
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
protected List getServers(Configuration config)
Server
s that will provide handlers to handle the query.
Subclasses implement this by returning a list of either ProductServer
s
or ProfileServer
s.getServers
in class QueryServlet
config
- a Configuration
value.List
value of Server
s of some kind.protected void handleQuery(XMLQuery query, List handlers, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws IOException, javax.servlet.ServletException
handleQuery
in class QueryServlet
query
- The query to handle.handlers
- A list of either product QueryHandler
s or profile ProfileHandler
s.req
- a HttpServletRequest
value.res
- a HttpServletResponse
value.IOException
- if an I/O error occurs.javax.servlet.ServletException
- if a servlet error occurs.Copyright © 1999-2015 Apache OODT. All Rights Reserved.