Class Endpoint


  • public final class Endpoint
    extends java.lang.Object
    • Method Summary

      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      static Endpoint toKey​(com.sun.net.httpserver.HttpExchange exchange)  
      static Endpoint toKey​(java.lang.String method, java.lang.String path)  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toKey

        public static Endpoint toKey​(com.sun.net.httpserver.HttpExchange exchange)
      • toKey

        public static Endpoint toKey​(java.lang.String method,
                                     java.lang.String path)