|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.ibm.websphere.samples.pbw.war.AdminServlet
@WebServlet(value="/servlet/AdminServlet") public class AdminServlet
Servlet to handle Administration actions
Constructor Summary | |
---|---|
AdminServlet()
|
Method Summary | |
---|---|
void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Process incoming HTTP GET requests |
void |
doPost(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Process incoming HTTP POST requests |
void |
getBackOrders(javax.servlet.http.HttpSession session)
Method getBackOrders. |
void |
init(javax.servlet.ServletConfig config)
Servlet initialization. |
void |
performBackOrder(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Method performBackOrder. |
void |
performPopulate(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
|
void |
performSupplierConfig(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
|
void |
performTask(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
Method performTask. |
Supplier |
updateSupplierInfo(String supplierID,
String name,
String street,
String city,
String state,
String zip,
String phone,
String location_url)
|
Methods inherited from class javax.servlet.http.HttpServlet |
---|
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AdminServlet()
Method Detail |
---|
public void init(javax.servlet.ServletConfig config) throws javax.servlet.ServletException
init
in interface javax.servlet.Servlet
init
in class javax.servlet.GenericServlet
javax.servlet.ServletException
public void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
doGet
in class javax.servlet.http.HttpServlet
req
- Object that encapsulates the request to the servletresp
- Object that encapsulates the response from the servlet
javax.servlet.ServletException
IOException
public void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
doPost
in class javax.servlet.http.HttpServlet
req
- Object that encapsulates the request to the servletresp
- Object that encapsulates the response from the servlet
javax.servlet.ServletException
IOException
public void performTask(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
req
- resp
-
javax.servlet.ServletException
IOException
public Supplier updateSupplierInfo(String supplierID, String name, String street, String city, String state, String zip, String phone, String location_url)
supplierID
- name
- street
- city
- state
- zip
- phone
- location_url
-
public void performSupplierConfig(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
req
- resp
-
javax.servlet.ServletException
IOException
public void performPopulate(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
req
- resp
-
javax.servlet.ServletException
IOException
public void performBackOrder(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp) throws javax.servlet.ServletException, IOException
req
- resp
-
javax.servlet.ServletException
IOException
public void getBackOrders(javax.servlet.http.HttpSession session)
session
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |