Interface Normalisable<SELF extends Normalisable<SELF>>

Type Parameters:
SELF - the self type
All Known Subinterfaces:
AbsoluteUri, AbsoluteUrl, Authority, BaseUrl, Fragment, Host, HostAndPort, OpaqueUri, Origin, Password, Path, PercentEncoded<SELF>, Port, Query, QueryParamKey, QueryParamValue, Segment, ServersideAbsoluteUrl, UserInfo, Username
All Known Implementing Classes:
BaseUrlValue

public interface Normalisable<SELF extends Normalisable<SELF>>
Many elements of URI References have a normal form - e.g. the schemes HTTP and HtTp both normalise to http.

Type.normalise().equals(Type.normalise().normalise() should always be true.

  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    Returns a normalised form of this value.
  • Method Details

    • normalise

      SELF normalise()
      Returns a normalised form of this value.
      Returns:
      a normalised value
    • isNormalForm

      boolean isNormalForm()