org.apache.oodt.cas.product.rdf
Class RDFProductServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.apache.oodt.cas.product.rdf.RDFProductServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class RDFProductServlet
extends javax.servlet.http.HttpServlet

A Servlet that exports Product metaata information using the W3C's Resource Description Framework.

Version:
$Revision$
Author:
mattmann
See Also:
Serialized Form

Constructor Summary
RDFProductServlet()
           Default Constructor
 
Method Summary
 void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
           
 void doIt(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
           
 void doPost(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
           
 void init(javax.servlet.ServletConfig config)
          Initializes the servlet.
 void outputRDF(List<Product> products, ProductType type, String base, javax.servlet.http.HttpServletResponse resp)
           
 
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

RDFProductServlet

public RDFProductServlet()

Default Constructor

.

Method Detail

init

public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
Initializes the servlet.

Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class javax.servlet.GenericServlet
Throws:
javax.servlet.ServletException

doGet

public void doGet(javax.servlet.http.HttpServletRequest req,
                  javax.servlet.http.HttpServletResponse resp)
           throws javax.servlet.ServletException,
                  IOException
Overrides:
doGet in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
IOException

doPost

public void doPost(javax.servlet.http.HttpServletRequest req,
                   javax.servlet.http.HttpServletResponse resp)
            throws javax.servlet.ServletException,
                   IOException
Overrides:
doPost in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
IOException

doIt

public void doIt(javax.servlet.http.HttpServletRequest req,
                 javax.servlet.http.HttpServletResponse resp)
          throws javax.servlet.ServletException,
                 IOException
Throws:
javax.servlet.ServletException
IOException

outputRDF

public void outputRDF(List<Product> products,
                      ProductType type,
                      String base,
                      javax.servlet.http.HttpServletResponse resp)
               throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException


Copyright © 1999-2013
Apache OODT. All Rights Reserved.