Interface URIs
public interface URIs
Created by patricktwohig on 8/23/17.
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic URI
appendOrReplaceQuery
(URI base, String query) static URI
appendPath
(URI base, String path) Ensures that the providedURI
'sURI.getPath()
ends with a '/' thus indicatingstatic URI
appendPath
(URI base, String first, String second, String... additional) static URI
Returns aURI
to meet the requirements of the HTTP Origin header.
-
Method Details
-
originFor
Returns aURI
to meet the requirements of the HTTP Origin header.- Parameters:
uri
- theURI
from which to derive the origin- Returns:
- the origin URI.
-
appendPath
Ensures that the providedURI
'sURI.getPath()
ends with a '/' thus indicating- Parameters:
base
-- Returns:
-
appendPath
-
appendOrReplaceQuery
-