Module swim.uri
Package swim.uri

Class UriPort

    • Field Detail

      • number

        protected final int number
    • Constructor Detail

      • UriPort

        protected UriPort​(int number)
    • Method Detail

      • isDefined

        public final boolean isDefined()
      • number

        public final int number()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • debug

        public <T> Output<T> debug​(Output<T> output)
        Description copied from interface: Debug
        Writes a developer readable, debug-formatted string representation of this object to output.
        Specified by:
        debug in interface Debug
        Returns:
        the continuation of the output.
      • display

        public <T> Output<T> display​(Output<T> output)
        Description copied from interface: Display
        Writes a human readable, display-formatted string representation of this object to output.
        Specified by:
        display in interface Display
        Returns:
        the continuation of the output.
      • undefined

        public static UriPort undefined()
      • create

        public static UriPort create​(int number)