org.mobicents.slee.resource.http
Class HttpServletResourceEntryPoint
java.lang.Object
org.mobicents.slee.resource.http.HttpServletResourceEntryPoint
- All Implemented Interfaces:
- javax.servlet.Servlet
public class HttpServletResourceEntryPoint
- extends java.lang.Object
- implements javax.servlet.Servlet
Provides an entry point for a designated HttpServlet to the Resource Adaptor.
It bridges incoming Http requests via an HttpServlet to the RA.
Implements the generic Servlet interface in order to eliminate class type
dependecny between the http servlet and the RA. Only the service() method is
implemented, the rest through UnsupportedOperationException;
- Author:
- Ivelin Ivanov, amit.bhayani
|
Method Summary |
void |
destroy()
|
void |
endHttpSessionActivity(java.lang.String sessionId)
|
java.lang.String |
getJndiName()
|
javax.servlet.ServletConfig |
getServletConfig()
|
java.lang.String |
getServletInfo()
|
void |
init(javax.servlet.ServletConfig arg0)
|
void |
service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
void |
service(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RA_ENTRY_POINT_PARAM
protected static final java.lang.String RA_ENTRY_POINT_PARAM
- See Also:
- Constant Field Values
HttpServletResourceEntryPoint
public HttpServletResourceEntryPoint(java.lang.String name,
HttpServletResourceAdaptor newRA)
getJndiName
public java.lang.String getJndiName()
service
public void service(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
destroy
public void destroy()
- Specified by:
destroy in interface javax.servlet.Servlet
getServletConfig
public javax.servlet.ServletConfig getServletConfig()
- Specified by:
getServletConfig in interface javax.servlet.Servlet
getServletInfo
public java.lang.String getServletInfo()
- Specified by:
getServletInfo in interface javax.servlet.Servlet
init
public void init(javax.servlet.ServletConfig arg0)
throws javax.servlet.ServletException
- Specified by:
init in interface javax.servlet.Servlet
- Throws:
javax.servlet.ServletException
service
public void service(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Specified by:
service in interface javax.servlet.Servlet
- Throws:
javax.servlet.ServletException
java.io.IOException
endHttpSessionActivity
public void endHttpSessionActivity(java.lang.String sessionId)
Copyright © 2009. All Rights Reserved.