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, javax.servlet.Servlet, javax.servlet.ServletConfig
public class VCardServlet
- extends javax.servlet.http.HttpServlet
- See Also:
- Serialized Form
| Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPost, 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 |
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
MAX_ACCOUNTS
protected static final int MAX_ACCOUNTS
- 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(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
- Specified by:
init in interface javax.servlet.Servlet- Overrides:
init in class javax.servlet.GenericServlet
- Throws:
javax.servlet.ServletException
getPersistenceManager
protected javax.jdo.PersistenceManager getPersistenceManager(javax.servlet.http.HttpServletRequest req)
getComponentConfiguration
protected ComponentConfiguration getComponentConfiguration(String providerName)
getAccountsHelper
protected AccountsHelper getAccountsHelper(javax.jdo.PersistenceManager pm,
String requestedAccountFilter)
findAccount
protected Account findAccount(javax.jdo.PersistenceManager pm,
AccountsHelper accountsHelper,
String uid)
getAccountUrl
protected String getAccountUrl(javax.servlet.http.HttpServletRequest req,
Account account,
boolean htmlEncoded)
doGet
protected 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
doPut
protected void doPut(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
IOException
- Overrides:
doPut in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
This software is published under the BSD license. Copyright © 2003-2009, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.