cscie259.project4.scamazon
Class ECS
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
cscie259.project4.scamazon.ScamazonServlet
cscie259.project4.scamazon.ECS
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class ECS
- extends ScamazonServlet
This servlet implements a demonstration of Amazon's
E-Commerce Service (ECS).
Be sure to assign ECS.ACCESS_KEY_ID the value of your
own Access Key ID.
You MAY modify this file.
- Version:
- 7.0
- Author:
- Computer Science E-259
- See Also:
- Serialized Form
Constructor Summary |
ECS()
|
Method Summary |
protected void |
doWork(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Demonstrates ECS. |
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, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ACCESS_KEY_ID
private static final java.lang.String ACCESS_KEY_ID
- See Also:
- Constant Field Values
ISBNS
private static final java.lang.String ISBNS
- See Also:
- Constant Field Values
RESPONSE_GROUPS
private static final java.lang.String[] RESPONSE_GROUPS
ECS
public ECS()
doWork
protected void doWork(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Demonstrates ECS.
- Specified by:
doWork
in class ScamazonServlet
- Parameters:
request
- HTTP request objectresponse
- HTTP response object
- Throws:
java.io.IOException
- if an IO-related error occurs
javax.servlet.ServletException
- if a servlet-related error occurs