net.sourceforge.hiveremoting.caucho
Class AbstractRemoteServiceInvoker

java.lang.Object
  extended by net.sourceforge.hiveremoting.caucho.AbstractRemoteServiceInvoker
All Implemented Interfaces:
RemoteServiceInvoker
Direct Known Subclasses:
BurlapRemoteServiceInvoker, HessianRemoteServiceInvoker

public abstract class AbstractRemoteServiceInvoker
extends java.lang.Object
implements RemoteServiceInvoker

Author:
Jean-Francois Poilpret

Field Summary
protected  com.caucho.hessian.io.SerializerFactory _factory
           
protected  RemoteContextHandler _handler
           
protected  boolean _secure
           
protected  java.lang.String _serviceId
           
 
Constructor Summary
protected AbstractRemoteServiceInvoker(PublishServiceContribution contrib, com.caucho.hessian.io.SerializerFactory factory)
           
 
Method Summary
 void invoke(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
protected abstract  void invoke(java.io.InputStream is, java.io.OutputStream os)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_factory

protected final com.caucho.hessian.io.SerializerFactory _factory

_serviceId

protected final java.lang.String _serviceId

_secure

protected final boolean _secure

_handler

protected final RemoteContextHandler _handler
Constructor Detail

AbstractRemoteServiceInvoker

protected AbstractRemoteServiceInvoker(PublishServiceContribution contrib,
                                       com.caucho.hessian.io.SerializerFactory factory)
Method Detail

invoke

public void invoke(javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response)
            throws javax.servlet.ServletException
Specified by:
invoke in interface RemoteServiceInvoker
Throws:
javax.servlet.ServletException

invoke

protected abstract void invoke(java.io.InputStream is,
                               java.io.OutputStream os)
                        throws java.lang.Throwable
Throws:
java.lang.Throwable