Package com.io7m.idstore.user_client.internal

# Class IdUProtocolNegotiation

java.lang.Object
com.io7m.idstore.user_client.internal.IdUProtocolNegotiation

public final class IdUProtocolNegotiation extends Object
Functions to negotiate protocols.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static IdUHandlerType`
  `negotiateProtocolHandler(IdUClientConfiguration configuration, HttpClient httpClient, IdStrings strings, URI base)`
  Negotiate a protocol handler.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Method Details

  - ### negotiateProtocolHandler

    public static IdUHandlerType negotiateProtocolHandler(IdUClientConfiguration configuration, HttpClient httpClient, IdStrings strings, URI base) throws IdUClientException, InterruptedException
    Negotiate a protocol handler.
    Parameters:
      `configuration` - The configuration
      `httpClient` - The HTTP client
      `strings` - The string resources
      `base` - The base URI
    Returns:
      The protocol handler
    Throws:
      `IdUClientException` - On errors
      `InterruptedException` - On interruption