Class BurlapClientInterceptor

    • Method Detail

      • setProxyFactory

        public void setProxyFactory​(com.caucho.burlap.client.BurlapProxyFactory proxyFactory)
        Deprecated.
        Set the BurlapProxyFactory instance to use. If not specified, a default BurlapProxyFactory will be created.

        Allows to use an externally configured factory instance, in particular a custom BurlapProxyFactory subclass.

      • setUsername

        public void setUsername​(String username)
        Deprecated.
        Set the username that this factory should use to access the remote service. Default is none.

        The username will be sent by Burlap via HTTP Basic Authentication.

        See Also:
        BurlapProxyFactory.setUser(java.lang.String)
      • setPassword

        public void setPassword​(String password)
        Deprecated.
        Set the password that this factory should use to access the remote service. Default is none.

        The password will be sent by Burlap via HTTP Basic Authentication.

        See Also:
        BurlapProxyFactory.setPassword(java.lang.String)
      • setOverloadEnabled

        public void setOverloadEnabled​(boolean overloadEnabled)
        Deprecated.
        Set whether overloaded methods should be enabled for remote invocations. Default is "false".
        See Also:
        BurlapProxyFactory.setOverloadEnabled(boolean)
      • createBurlapProxy

        protected Object createBurlapProxy​(com.caucho.burlap.client.BurlapProxyFactory proxyFactory)
                                    throws MalformedURLException
        Deprecated.
        Create the Burlap proxy that is wrapped by this interceptor.
        Parameters:
        proxyFactory - the proxy factory to use
        Returns:
        the Burlap proxy
        Throws:
        MalformedURLException - if thrown by the proxy factory
        See Also:
        BurlapProxyFactory.create(java.lang.String)
      • convertBurlapAccessException

        protected RemoteAccessException convertBurlapAccessException​(Throwable ex)
        Deprecated.
        Convert the given Burlap access exception to an appropriate Spring RemoteAccessException.
        Parameters:
        ex - the exception to convert
        Returns:
        the RemoteAccessException to throw