Class UriInfo.BuilderBase.UriInfoImpl

java.lang.Object
io.helidon.common.uri.UriInfo.BuilderBase.UriInfoImpl
All Implemented Interfaces:
Prototype.Api, UriInfo
Enclosing class:
UriInfo.BuilderBase<BUILDER extends UriInfo.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends UriInfo>

protected static class UriInfo.BuilderBase.UriInfoImpl extends Object implements UriInfo
Generated implementation of the prototype, can be extended by descendant prototype implementations.
  • Constructor Details

    • UriInfoImpl

      protected UriInfoImpl(UriInfo.BuilderBase<?,?> builder)
      Create an instance providing a builder.
      Parameters:
      builder - extending builder base of this prototype
  • Method Details

    • scheme

      public String scheme()
    • host

      public String host()
    • port

      public int port()
    • path

      public UriPath path()
    • query

      public UriQuery query()
    • fragment

      public UriFragment fragment()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      default String authority()
      Authority (host:port) of this URI.
      Returns:
      authority
    • toUri

      default URI toUri()
      Create a URI from information in this URI info. Creating a URI is a relatively expensive operation (as it always validates and does some additional operations).
      Returns:
      a new URI