public class B2bNewQuoteServlet extends B2bServlet
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
CLASSNAME |
(package private) static java.lang.String |
COPYRIGHT |
private static org.apache.log4j.Logger |
logger |
Constructor and Description |
---|
B2bNewQuoteServlet() |
Modifier and Type | Method and Description |
---|---|
private org.dom4j.Document |
buildXmlContent(javax.servlet.http.HttpServletRequest req)
Build a NameValuePair XML document using the HTTP request parameters
for the data population.
|
void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Process a GET.
|
private void |
writeXmlResponse(javax.servlet.ServletOutputStream out,
org.dom4j.Document response)
Writes the response document to the servlet output stream.
|
processRequest
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
static final java.lang.String COPYRIGHT
private static final java.lang.String CLASSNAME
private static org.apache.log4j.Logger logger
public void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws javax.servlet.ServletException, java.io.IOException
doGet
in class javax.servlet.http.HttpServlet
javax.servlet.ServletException
java.io.IOException
HttpServlet.doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
private org.dom4j.Document buildXmlContent(javax.servlet.http.HttpServletRequest req)
req
- HTTP requestprivate void writeXmlResponse(javax.servlet.ServletOutputStream out, org.dom4j.Document response) throws java.io.IOException, javax.servlet.ServletException
out
- Output Stream to write the response toresponse
- XML responsejava.io.IOException
javax.servlet.ServletException