Interface URIs


public interface URIs
Created by patricktwohig on 8/23/17.
  • Method Details

    • originFor

      static URI originFor(URI uri)
      Returns a URI to meet the requirements of the HTTP Origin header.
      Parameters:
      uri - the URI from which to derive the origin
      Returns:
      the origin URI.
    • appendPath

      static URI appendPath(URI base, String path)
      Ensures that the provided URI's URI.getPath() ends with a '/' thus indicating
      Parameters:
      base -
      Returns:
    • appendPath

      static URI appendPath(URI base, String first, String second, String... additional)
    • appendOrReplaceQuery

      static URI appendOrReplaceQuery(URI base, String query)