Class URLEndpoint

  • All Implemented Interfaces:
    Endpoint

    public final class URLEndpoint
    extends java.lang.Object
    implements Endpoint
    URL based replication target endpoint
    • Constructor Summary

      Constructors 
      Constructor Description
      URLEndpoint​(java.net.URI url)
      Constructor with the url.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.net.URI getURL()
      Returns the url.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • URLEndpoint

        public URLEndpoint​(@NonNull
                           java.net.URI url)
        Constructor with the url. The supported URL schemes are ws and wss for transferring data over a secure channel.
        Parameters:
        url - The url.
    • Method Detail

      • toString

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

        @NonNull
        public java.net.URI getURL()
        Returns the url.