Package io.micronaut.jaxrs.runtime.core
Class JaxRsUriBuilder
java.lang.Object
jakarta.ws.rs.core.UriBuilder
io.micronaut.jaxrs.runtime.core.JaxRsUriBuilder
Partial implementation of
UriBuilder
. Unsupported methods throw UnsupportedOperationException
.- Since:
- 1.0
- Author:
- graemerocher
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuildFromEncoded
(Object... values) buildFromEncodedMap
(Map<String, ?> values) buildFromMap
(Map<String, ?> values) buildFromMap
(Map<String, ?> values, boolean encodeSlashInPath) clone()
matrixParam
(String name, Object... values) port
(int port) queryParam
(String name, Object... values) replaceMatrix
(String matrix) replaceMatrixParam
(String name, Object... values) replacePath
(String path) replaceQuery
(String query) replaceQueryParam
(String name, Object... values) resolveTemplate
(String name, Object value) resolveTemplate
(String name, Object value, boolean encodeSlashInPath) resolveTemplateFromEncoded
(String name, Object value) resolveTemplates
(Map<String, Object> templateValues) resolveTemplates
(Map<String, Object> templateValues, boolean encodeSlashInPath) resolveTemplatesFromEncoded
(Map<String, Object> templateValues) schemeSpecificPart
(String ssp) Methods inherited from class jakarta.ws.rs.core.UriBuilder
fromLink, fromMethod, fromPath, fromResource, fromUri, fromUri, newInstance
-
Constructor Details
-
JaxRsUriBuilder
public JaxRsUriBuilder()Default constructor.
-
-
Method Details
-
clone
- Specified by:
clone
in classUriBuilder
-
uri
- Specified by:
uri
in classUriBuilder
-
uri
- Specified by:
uri
in classUriBuilder
-
scheme
- Specified by:
scheme
in classUriBuilder
-
schemeSpecificPart
- Specified by:
schemeSpecificPart
in classUriBuilder
-
userInfo
- Specified by:
userInfo
in classUriBuilder
-
host
- Specified by:
host
in classUriBuilder
-
port
- Specified by:
port
in classUriBuilder
-
replacePath
- Specified by:
replacePath
in classUriBuilder
-
path
- Specified by:
path
in classUriBuilder
-
path
- Specified by:
path
in classUriBuilder
-
path
- Specified by:
path
in classUriBuilder
-
path
- Specified by:
path
in classUriBuilder
-
segment
- Specified by:
segment
in classUriBuilder
-
replaceMatrix
- Specified by:
replaceMatrix
in classUriBuilder
-
matrixParam
- Specified by:
matrixParam
in classUriBuilder
-
replaceMatrixParam
- Specified by:
replaceMatrixParam
in classUriBuilder
-
replaceQuery
- Specified by:
replaceQuery
in classUriBuilder
-
queryParam
- Specified by:
queryParam
in classUriBuilder
-
replaceQueryParam
- Specified by:
replaceQueryParam
in classUriBuilder
-
fragment
- Specified by:
fragment
in classUriBuilder
-
resolveTemplate
- Specified by:
resolveTemplate
in classUriBuilder
-
resolveTemplate
- Specified by:
resolveTemplate
in classUriBuilder
-
resolveTemplateFromEncoded
- Specified by:
resolveTemplateFromEncoded
in classUriBuilder
-
resolveTemplates
- Specified by:
resolveTemplates
in classUriBuilder
-
resolveTemplates
public UriBuilder resolveTemplates(Map<String, Object> templateValues, boolean encodeSlashInPath) throws IllegalArgumentException- Specified by:
resolveTemplates
in classUriBuilder
- Throws:
IllegalArgumentException
-
resolveTemplatesFromEncoded
- Specified by:
resolveTemplatesFromEncoded
in classUriBuilder
-
buildFromMap
- Specified by:
buildFromMap
in classUriBuilder
-
buildFromMap
public URI buildFromMap(Map<String, ?> values, boolean encodeSlashInPath) throws IllegalArgumentException, UriBuilderException- Specified by:
buildFromMap
in classUriBuilder
- Throws:
IllegalArgumentException
UriBuilderException
-
buildFromEncodedMap
public URI buildFromEncodedMap(Map<String, ?> values) throws IllegalArgumentException, UriBuilderException- Specified by:
buildFromEncodedMap
in classUriBuilder
- Throws:
IllegalArgumentException
UriBuilderException
-
build
- Specified by:
build
in classUriBuilder
- Throws:
IllegalArgumentException
UriBuilderException
-
build
public URI build(Object[] values, boolean encodeSlashInPath) throws IllegalArgumentException, UriBuilderException - Specified by:
build
in classUriBuilder
- Throws:
IllegalArgumentException
UriBuilderException
-
buildFromEncoded
- Specified by:
buildFromEncoded
in classUriBuilder
- Throws:
IllegalArgumentException
UriBuilderException
-
toTemplate
- Specified by:
toTemplate
in classUriBuilder
-