org.opencrx.application.vcard
Class VCardServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.opencrx.application.vcard.VCardServlet
- All Implemented Interfaces:
- Serializable, Servlet, ServletConfig
public class VCardServlet
- extends HttpServlet
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CONFIGURATION_ID
protected static final String CONFIGURATION_ID
- See Also:
- Constant Field Values
RESOURCE_NAME_ACCOUNTS_VCF
protected static final String RESOURCE_NAME_ACCOUNTS_VCF
- See Also:
- Constant Field Values
RESOURCE_TYPE_VCF
protected static final String RESOURCE_TYPE_VCF
- See Also:
- Constant Field Values
PARAMETER_NAME_TYPE
protected static final String PARAMETER_NAME_TYPE
- See Also:
- Constant Field Values
PARAMETER_NAME_RESOURCE
protected static final String PARAMETER_NAME_RESOURCE
- See Also:
- Constant Field Values
persistenceManagerFactory
protected javax.jdo.PersistenceManagerFactory persistenceManagerFactory
rootPm
protected javax.jdo.PersistenceManager rootPm
componentConfiguration
protected ComponentConfiguration componentConfiguration
VCardServlet
public VCardServlet()
init
public void init(ServletConfig config)
throws ServletException
- Specified by:
init in interface Servlet- Overrides:
init in class GenericServlet
- Throws:
ServletException
getPersistenceManager
protected javax.jdo.PersistenceManager getPersistenceManager(HttpServletRequest req)
getComponentConfiguration
protected ComponentConfiguration getComponentConfiguration(String providerName)
getAccountsHelper
protected AccountsFilterHelper getAccountsHelper(javax.jdo.PersistenceManager pm,
String requestedAccountFilter)
findAccount
protected Account findAccount(javax.jdo.PersistenceManager pm,
AccountsFilterHelper accountsHelper,
String uid)
getAccountUrl
protected String getAccountUrl(HttpServletRequest req,
Account account,
boolean htmlEncoded)
doGet
protected void doGet(HttpServletRequest req,
HttpServletResponse resp)
throws ServletException,
IOException
- Overrides:
doGet in class HttpServlet
- Throws:
ServletException
IOException
doPut
protected void doPut(HttpServletRequest req,
HttpServletResponse resp)
throws ServletException,
IOException
- Overrides:
doPut in class HttpServlet
- Throws:
ServletException
IOException
This software is published under the BSD license. Copyright © 2003-2010, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.