code: @SuppressWarnings("unchecked")
  	public T get() {
  		T result;
  
  		if (uri != null) {
  			if (classLoader == null) {
  				classLoader = clazz.getClassLoader();
  			}
  
  			Endpoint clientEndpoint = new HTTPClientEndpoint(uri);
  			if (logger != null) {
  				clientEndpoint = new LoggerEndpoint(clientEndpoint, logger);
  			}
  
  			result = new FacadeEndpoint<T>(clientEndpoint, //
  					classLoader, clazz, typeConverter, //
  					additionalInterfaces.toArray(new Class<?>[additionalInterfaces.size()])) //
  					.newProxy();
  		} else {
  			ObjectEndpoint endpoint = new ObjectEndpoint();
  			endpoint.faultMapper(faultMapper);
  			endpoint.typeConverter(typeConverter);
  			endpoint.export(server, clazz);
  			for (Class<?> i : additionalInterfaces) {
  				endpoint.export(server, i);
  			}
  			result = (T) new HTTPServerEndpoint(endpoint);
  		}
  
  		return result;
  	}
docs: Returns either a client proxy or {@link HTTPServerEndpoint} instance.
  
  @return building result