Class URLEndpoint

java.lang.Object
com.couchbase.lite.URLEndpoint
All Implemented Interfaces:
Endpoint

public final class URLEndpoint extends Object implements Endpoint
URL based replication target endpoint
  • Constructor Details

    • URLEndpoint

      public URLEndpoint(@NonNull URI url)
      Constructor with the url. The supported URL schemes are
      • wss -- data transfer over a secure channel
      • ws -- data transfer over an insecure channel
      Parameters:
      url - The url.
  • Method Details

    • toString

      @NonNull public String toString()
      Overrides:
      toString in class Object
    • getURL

      @NonNull public URI getURL()
      Returns the url.