Class AbstractStreamSupportingApiServiceExporter

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.InitializingBean, org.springframework.web.HttpRequestHandler

    public abstract class AbstractStreamSupportingApiServiceExporter
    extends ch.systemsx.cisd.common.spring.WhiteAndBlackListStreamSupportingHttpInvokerExporter
    Abstract super class of all classes make an API available via StreamSupportingHttpInvokerServiceExporter.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class com.marathon.util.spring.StreamSupportingHttpInvokerServiceExporter

        com.marathon.util.spring.StreamSupportingHttpInvokerServiceExporter.CloseShieldedOutputStream, com.marathon.util.spring.StreamSupportingHttpInvokerServiceExporter.ParameterInputStream
    • Field Summary

      • Fields inherited from class org.springframework.remoting.rmi.RemoteInvocationSerializingExporter

        CONTENT_TYPE_SERIALIZED_OBJECT
      • Fields inherited from class org.springframework.remoting.support.RemotingSupport

        logger
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void establishService​(java.lang.Class<? extends IRpcService> serviceInterface, IRpcService service, java.lang.String serviceName, java.lang.String serviceURL)
      Establishes the specified service which implements the specified interface.
      • Methods inherited from class ch.systemsx.cisd.common.spring.WhiteAndBlackListStreamSupportingHttpInvokerExporter

        createObjectInputStream
      • Methods inherited from class com.marathon.util.spring.StreamSupportingHttpInvokerServiceExporter

        doWriteReturnInputStream, getEmptyInputStreamParameterBeforeReturn, getParameterInputStreamClosedFlag, getParameterInputStreamFrom, hasStreamResult, invokeAndCreateResult, readRemoteInvocation, setEmptyInputStreamParameterBeforeReturn, writeRemoteInvocationResult, writeRemoteInvocationResult
      • Methods inherited from class org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter

        decorateInputStream, decorateOutputStream, handleRequest, readRemoteInvocation
      • Methods inherited from class org.springframework.remoting.rmi.RemoteInvocationSerializingExporter

        afterPropertiesSet, createObjectOutputStream, doReadRemoteInvocation, doWriteRemoteInvocationResult, getContentType, getProxy, isAcceptProxyClasses, prepare, setAcceptProxyClasses, setContentType
      • Methods inherited from class org.springframework.remoting.support.RemoteInvocationBasedExporter

        getRemoteInvocationExecutor, invoke, setRemoteInvocationExecutor
      • Methods inherited from class org.springframework.remoting.support.RemoteExporter

        checkService, checkServiceInterface, getExporterName, getProxyForService, getService, getServiceInterface, setInterceptors, setRegisterTraceInterceptor, setService, setServiceInterface
      • Methods inherited from class org.springframework.remoting.support.RemotingSupport

        getBeanClassLoader, overrideThreadContextClassLoader, resetThreadContextClassLoader, setBeanClassLoader
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractStreamSupportingApiServiceExporter

        public AbstractStreamSupportingApiServiceExporter()
    • Method Detail

      • establishService

        protected void establishService​(java.lang.Class<? extends IRpcService> serviceInterface,
                                        IRpcService service,
                                        java.lang.String serviceName,
                                        java.lang.String serviceURL)
        Establishes the specified service which implements the specified interface. The service will register at the name server under the specified name. It will accessible via HTTP by the specified service URL.