Module swim.uri
Package swim.uri

Class UriPathBuilder

    • Constructor Detail

      • UriPathBuilder

        public UriPathBuilder()
    • Method Detail

      • isEmpty

        public boolean isEmpty()
      • size

        public int size()
      • add

        public boolean add​(String component)
        Description copied from interface: Builder
        Adds a single input value to this builder, returning true if the state of the builder changed.
        Specified by:
        add in interface Builder<String,​UriPath>
      • addAll

        public boolean addAll​(Collection<? extends String> components)
        Description copied from interface: Builder
        Adds multiple input values to this builder, returning true if the state of the builder changed.
        Specified by:
        addAll in interface Builder<String,​UriPath>
      • addSlash

        public boolean addSlash()
      • addSegment

        public boolean addSegment​(String segment)
      • addPath

        public boolean addPath​(UriPath path)