public static class ReverseConnectionParameters.Builder extends Object
ReverseConnectionParameters.public ReverseConnectionParameters build()
public String getClientServerEndpointUrl()
public String getEndpointUrlForClientConnection()
public Function<List<String>,String> getEndpointUrlForClientConnectionSelector()
public List<Integer> getRetryWaitIntervals()
public ReverseConnectionParameters.Builder setClientServerEndpointUrl(String clientServerEndpointUrl)
public ReverseConnectionParameters.Builder setEndpointUrlForClientConnection(String endpointUrlForClientConnection)
public void setEndpointUrlForClientConnectionSelector(Function<List<String>,String> endpointUrlForClientConnectionSelector)
setEndpointUrlForClientConnection(String) is null, and the server has
more than one EndpointUrl, this Function is used to determine which one of them is
sent to the client. The default implementation returns the index 0.public ReverseConnectionParameters.Builder setStatusListener(Executor executor, Consumer<ReverseConnectionStatus> consumer)
Consumer is called on
the given Executor whenever the status of the connection changes. IMPORTANT! the idea
here is to give an Executor that enforces that the listener doesn't exec concurrently
(such as Executors.newSingleThreadExecutor().Copyright © 2026. All rights reserved.