@@ -118,7 +118,7 @@ public class JsonRpcHttpAsyncClient {
118
118
*
119
119
* @param serviceUrl the service end-point URL
120
120
*/
121
- private JsonRpcHttpAsyncClient (URL serviceUrl ) {
121
+ public JsonRpcHttpAsyncClient (URL serviceUrl ) {
122
122
this (new ObjectMapper (), serviceUrl , new HashMap <String , String >());
123
123
}
124
124
@@ -127,11 +127,11 @@ private JsonRpcHttpAsyncClient(URL serviceUrl) {
127
127
* {@code serviceUrl}. The headers provided in the {@code headers} map are added to every request
128
128
* made to the {@code serviceUrl}.
129
129
*
130
- * @param mapper the {@link ObjectMapper} to use for json<-> java conversion
130
+ * @param mapper the {@link ObjectMapper} to use for json<-> java conversion
131
131
* @param serviceUrl the service end-point URL
132
132
* @param headers the headers
133
133
*/
134
- private JsonRpcHttpAsyncClient (ObjectMapper mapper , URL serviceUrl , Map <String , String > headers ) {
134
+ public JsonRpcHttpAsyncClient (ObjectMapper mapper , URL serviceUrl , Map <String , String > headers ) {
135
135
this .mapper = mapper ;
136
136
this .serviceUrl = serviceUrl ;
137
137
this .headers .putAll (headers );
@@ -145,7 +145,7 @@ private JsonRpcHttpAsyncClient(ObjectMapper mapper, URL serviceUrl, Map<String,
145
145
* @param serviceUrl the service end-point URL
146
146
* @param headers the headers
147
147
*/
148
- private JsonRpcHttpAsyncClient (URL serviceUrl , Map <String , String > headers ) {
148
+ public JsonRpcHttpAsyncClient (URL serviceUrl , Map <String , String > headers ) {
149
149
this (new ObjectMapper (), serviceUrl , headers );
150
150
}
151
151
0 commit comments