Interface URIs
public interface URIs
Created by patricktwohig on 8/23/17.
-
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic URIappendOrReplaceQuery(URI base, String query) static URIappendPath(URI base, String path) Ensures that the providedURI'sURI.getPath()ends with a '/' thus indicatingstatic URIappendPath(URI base, String first, String second, String... additional) static URIReturns aURIto meet the requirements of the HTTP Origin header.
-
Method Details
-
originFor
Returns aURIto meet the requirements of the HTTP Origin header.- Parameters:
uri- theURIfrom 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
-