Class SchemeWithDefaultPort<SEGMENT,​QUERY extends Query<?>,​FRAGMENT extends Fragment<?>>

  • Type Parameters:
    QUERY - The type of Query used by this scheme.
    Direct Known Subclasses:
    HypertextScheme

    public class SchemeWithDefaultPort<SEGMENT,​QUERY extends Query<?>,​FRAGMENT extends Fragment<?>>
    extends Scheme<SEGMENT,​QUERY,​FRAGMENT>
    A name component of a URI that refers to a scheme that is associated with a default port.
    • Constructor Detail

      • SchemeWithDefaultPort

        protected SchemeWithDefaultPort​(java.lang.String name,
                                        Port defaultPort,
                                        MakingDecoder<Segment<SEGMENT>,​?,​java.lang.String> segmentMakingDecoder,
                                        MakingDecoder<QUERY,​?,​java.lang.String> queryMakingDecoder,
                                        MakingDecoder<FRAGMENT,​?,​java.lang.String> fragmentMakingDecoder)
        Constructor for subclasses of Scheme with default ports.
        Parameters:
        name - the name of the scheme.
        defaultPort - the default port associated with the scheme.
        segmentMakingDecoder - the parser to use for parsing segments of this scheme.
        queryMakingDecoder - the parser to use for parsing queries of this scheme.
        fragmentMakingDecoder - the parser to use for parsing fragments of this scheme.
    • Method Detail

      • equals

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

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object