Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.knowgate.http
Class HttpVCardServlet

    java.lang.Object
      HttpServlet
          com.knowgate.http.HttpVCardServlet

    public class HttpVCardServlet

extends HttpServlet

Get RFC 2426 vCard from Fellow or Contact

Constructor Summary
`HttpVCardServlet()`

Method Summary
`void` | `doGet(HttpServletRequest request, HttpServletResponse response)` Send Fellow vCard to HttpServletResponse OutputStream
`void` | `init()` Initialize Servlet Parameters Take Database Driver, Conenction URL and User from /WEB-INF/web.xml.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### HttpVCardServlet

    public HttpVCardServlet()

Method Detail

### init

    public void init()
              throws ServletException

  Initialize Servlet Parameters

  Take Database Driver, Conenction URL and User from /WEB-INF/web.xml.
  If any parameter is not found then look it up at hipergate.cnf Properties file using Environment singleton.

  Throws:
    `ServletException`
    `UnavailableException` - If jdbcDriverClassName parameter is not found and driver property at hipergate.cnf is not found or if jdbcURL parameter is not found and dburl property at hipergate.cnf is not found.
  See Also:
    `Environment`

### doGet

    public void doGet(HttpServletRequest request,
                      HttpServletResponse response)
               throws java.io.IOException,
                      ServletException

  Send Fellow vCard to HttpServletResponse OutputStream

  Throws:
    `IOException`
    `ServletException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD