Skip to content

Commit 480bfb8

Browse files
committed
svc: add OncRpcSvcBuilder#withoutStartTLS method
provide a way to explicitly disable startTLS option. Acked-by: Paul Millar Target: master
1 parent 23a712d commit 480bfb8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

oncrpc4j-core/src/main/java/org/dcache/oncrpc4j/rpc/OncRpcSvcBuilder.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,12 @@ public OncRpcSvcBuilder withStartTLS() {
9494
return this;
9595
}
9696

97+
@Beta
98+
public OncRpcSvcBuilder withoutStartTLS() {
99+
_startTLS = false;
100+
return this;
101+
}
102+
97103
public OncRpcSvcBuilder withoutAutoPublish() {
98104
_autoPublish = false;
99105
return this;

0 commit comments

Comments
 (0)