org.apache.abdera.protocol.server.servlet
Class AbderaServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.apache.abdera.protocol.server.servlet.AbderaServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
Direct Known Subclasses:
AppServer.EmployeeProviderServlet, SpringAbderaServlet

public class AbderaServlet
extends javax.servlet.http.HttpServlet

Simple Atompub servlet.

See Also:
Serialized Form

Field Summary
protected  ServiceManager manager
           
protected  Provider provider
           
 
Constructor Summary
AbderaServlet()
           
 
Method Summary
protected  Provider createProvider()
           
protected  ServiceManager createServiceManager()
           
 Abdera getAbdera()
           
protected  Map<String,String> getProperties(javax.servlet.ServletConfig config)
           
 ServiceManager getServiceManager()
           
 void init()
           
protected  void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, 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
 

Field Detail

manager

protected ServiceManager manager

provider

protected Provider provider
Constructor Detail

AbderaServlet

public AbderaServlet()
Method Detail

init

public void init()
          throws javax.servlet.ServletException
Overrides:
init in class javax.servlet.GenericServlet
Throws:
javax.servlet.ServletException

getAbdera

public Abdera getAbdera()

getServiceManager

public ServiceManager getServiceManager()

createServiceManager

protected ServiceManager createServiceManager()

createProvider

protected Provider createProvider()

service

protected void service(javax.servlet.http.HttpServletRequest request,
                       javax.servlet.http.HttpServletResponse response)
                throws javax.servlet.ServletException,
                       IOException
Overrides:
service in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
IOException

getProperties

protected Map<String,String> getProperties(javax.servlet.ServletConfig config)


Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.