com.googlecode.xremoting.core.servlet
Class XRemotingServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.googlecode.xremoting.core.servlet.XRemotingServlet
- All Implemented Interfaces:
- Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public abstract class XRemotingServlet
- extends javax.servlet.http.HttpServlet
Base for a servlet which wishes to expose a service using XRemoting to the
world via HTTP.
- Author:
- Roman Puchkovskiy
- See Also:
- Serialized Form
| Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doHead, doOptions, doPut, 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 |
XRemotingServlet
public XRemotingServlet()
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
doInit
protected void doInit(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
- Throws:
javax.servlet.ServletException
createInvocationRestriction
protected InvocationRestriction createInvocationRestriction(Class<?>[] interfaces)
getInterfacesClassLoader
protected ClassLoader getInterfacesClassLoader()
createSerializer
protected Serializer createSerializer()
createInvoker
protected Invoker createInvoker()
createInvokingHelper
protected ProxyInvokingHelper createInvokingHelper()
doPost
protected void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
- Overrides:
doPost in class javax.servlet.http.HttpServlet
- Throws:
javax.servlet.ServletException
IOException
beforeInvocation
protected void beforeInvocation(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
- Throws:
javax.servlet.ServletException
IOException
afterInvocation
protected void afterInvocation(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
- Throws:
javax.servlet.ServletException
IOException
getTarget
protected abstract Object getTarget()
Copyright © 2011. All Rights Reserved.