/** * Set the username that this factory should use to access the remote service. * Default is none. * <p>The username will be sent by Hessian via HTTP Basic Authentication. * @see com.caucho.hessian.client.HessianProxyFactory#setUser */ public void setUsername(String username) { this.proxyFactory.setUser(username); }
/** * Set the username that this factory should use to access the remote service. * Default is none. * <p>The username will be sent by Hessian via HTTP Basic Authentication. * @see com.caucho.hessian.client.HessianProxyFactory#setUser */ public void setUsername(String username) { this.proxyFactory.setUser(username); }
/** * Set the username that this factory should use to access the remote service. * Default is none. * <p>The username will be sent by Hessian via HTTP Basic Authentication. * @see com.caucho.hessian.client.HessianProxyFactory#setUser */ public void setUsername(String username) { this.proxyFactory.setUser(username); }
/** * Set the username that this factory should use to access the remote service. * Default is none. * <p>The username will be sent by Hessian via HTTP Basic Authentication. * @see com.caucho.hessian.client.HessianProxyFactory#setUser */ public void setUsername(String username) { this.proxyFactory.setUser(username); }
public void setUserName(String userName) { _factory.setUser(userName); }
url = value; else if (type.equals("user")) setUser(value); else if (type.equals("password")) setPassword(value);
url = value; else if (type.equals("user")) setUser(value); else if (type.equals("password")) setPassword(value);
url = value; else if (type.equals("user")) setUser(value); else if (type.equals("password")) setPassword(value);
HessianProxyFactory factory = new HessianProxyFactory(); factory.setUser("neo"); factory.setPassword("thereisnospoon"); MyInterface service = (MyInterface) factory.create(MyInterface.class, "http://example.com/hessian/MyService");