Package io.micronaut.http.context
Class ContextPathUtils
java.lang.Object
io.micronaut.http.context.ContextPathUtils
Utility class to work with context paths and URIs.
- Since:
- 4.0.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull URIprepend(@NonNull URI requestURI, @Nullable ClientContextPathProvider clientContextPathProvider) static @NonNull URIprepend(@NonNull URI requestURI, @Nullable ServerContextPathProvider serverContextPathProvider) static @NonNull URI
-
Method Details
-
prepend
@NonNull public static @NonNull URI prepend(@NonNull @NonNull URI requestURI, @Nullable @Nullable ServerContextPathProvider serverContextPathProvider) throws URISyntaxException - Throws:
URISyntaxException
-
prepend
@NonNull public static @NonNull URI prepend(@NonNull @NonNull URI requestURI, @Nullable @Nullable ClientContextPathProvider clientContextPathProvider) throws URISyntaxException - Throws:
URISyntaxException
-
prepend
@NonNull public static @NonNull URI prepend(@NonNull @NonNull URI requestURI, @Nullable @Nullable String contextPath) throws URISyntaxException - Throws:
URISyntaxException
-