We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cabe1e5 commit 5fdde6cCopy full SHA for 5fdde6c
rmf/rmf-java-base/src/main/java/io/vrap/rmf/base/client/ApiMethod.java
@@ -402,4 +402,13 @@ public ApiHttpResponse<byte[]> sendBlocking() {
402
public ApiHttpResponse<byte[]> sendBlocking(final Duration timeout) {
403
return apiHttpClient.sendBlocking(this, timeout);
404
}
405
+
406
+ protected static <V> String encodePathParam(V pathParameter) {
407
+ try {
408
+ return URLEncoder.encode(pathParameter.toString(), StandardCharsets.UTF_8.toString());
409
+ }
410
+ catch (UnsupportedEncodingException e) {
411
+ throw new EncodingException(e);
412
413
414
0 commit comments