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
- Author:
- Sergio del Amo
-
Method Summary
Modifier and TypeMethodDescriptionprepend
(@NonNull URI requestURI, @Nullable ClientContextPathProvider clientContextPathProvider) prepend
(@NonNull URI requestURI, @Nullable ServerContextPathProvider serverContextPathProvider)
-
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
-