@@ -285,13 +285,22 @@ String getJsonProfileLDF(IRI identifier, String profile, String subject, String
285
285
/**
286
286
* getResponse.
287
287
*
288
+ * @param identifier identifier
289
+ * @return HttpResponse response
290
+ * @throws LdpClientException an URISyntaxException, IOException or InterruptedException
291
+ */
292
+ HttpResponse getResponse (final IRI identifier ) throws LdpClientException ;
293
+
294
+ /**
295
+ * getResponseWithHeaders.
296
+ *
288
297
* @param identifier a resource identifier
289
298
* @param metadata a {@link Map} of headers
290
299
* @return body and headers as a {@link Map}
291
300
* @throws LdpClientException an URISyntaxException, IOException or InterruptedException
292
301
*/
293
- Map <String , Map <String , List <String >>> getResponse (final IRI identifier , final Map <String , String > metadata )
294
- throws LdpClientException ;
302
+ Map <String , Map <String , List <String >>> getResponseWithHeaders (final IRI identifier , final Map <String , String >
303
+ metadata ) throws LdpClientException ;
295
304
296
305
/**
297
306
* options.
@@ -360,27 +369,36 @@ void postSlug(final IRI identifier, final String slug, final InputStream stream,
360
369
void postBinaryWithDigest (final IRI identifier , final InputStream stream , final String contentType , String
361
370
digest ) throws LdpClientException ;
362
371
372
+
373
+ /**
374
+ * createBasicContainer.
375
+ *
376
+ * @param identifier a resource identifier
377
+ * @throws LdpClientException an URISyntaxException, IOException or InterruptedException
378
+ */
379
+ void createBasicContainer (final IRI identifier ) throws LdpClientException ;
380
+
363
381
/**
364
- * newLdpDc .
382
+ * createDirectContainer .
365
383
*
366
384
* @param identifier a resource identifier
367
385
* @param slug a resource name as a {@link String}
368
386
* @param membershipObj a membership Object identifier
369
387
* @throws LdpClientException an URISyntaxException, IOException or InterruptedException
370
388
*/
371
- void newLdpDc (final IRI identifier , final String slug , IRI membershipObj ) throws LdpClientException ;
389
+ void createDirectContainer (final IRI identifier , final String slug , IRI membershipObj ) throws LdpClientException ;
372
390
373
391
/**
374
- * newLdpDcWithAuth .
392
+ * createDirectContainerWithAuth .
375
393
*
376
394
* @param identifier a resource identifier
377
395
* @param slug a resource name as a {@link String}
378
396
* @param membershipObj a membership Object identifier
379
397
* @param authorization an authorization token
380
398
* @throws LdpClientException an URISyntaxException, IOException or InterruptedException
381
399
*/
382
- void newLdpDcWithAuth (final IRI identifier , final String slug , IRI membershipObj , String authorization ) throws
383
- LdpClientException ;
400
+ void createDirectContainerWithAuth (final IRI identifier , final String slug , IRI membershipObj , String
401
+ authorization ) throws LdpClientException ;
384
402
385
403
/**
386
404
* put.
@@ -486,9 +504,10 @@ void putIfUnmodified(final IRI identifier, final InputStream stream, final Strin
486
504
*
487
505
* @param identifier a resource identifier
488
506
* @param stream an {@link InputStream}
507
+ * @return Boolean boolean
489
508
* @throws LdpClientException an URISyntaxException
490
509
*/
491
- void asyncPut (final IRI identifier , final InputStream stream ) throws LdpClientException ;
510
+ Boolean asyncPut (final IRI identifier , final InputStream stream ) throws LdpClientException ;
492
511
493
512
/**
494
513
* multiSubscriberAsyncGet.
@@ -497,16 +516,15 @@ void putIfUnmodified(final IRI identifier, final InputStream stream, final Strin
497
516
* @return an {@link Map}
498
517
* @throws LdpClientException an URISyntaxException
499
518
*/
500
- Map <HttpRequest , CompletableFuture <HttpResponse <String >>> multiSubscriberAsyncGet (
501
- final IRI identifier ) throws LdpClientException ;
519
+ Map <HttpRequest , CompletableFuture <HttpResponse <String >>> multiSubscriberAsyncGet (final IRI identifier ) throws
520
+ LdpClientException ;
502
521
503
522
/**
504
523
* joiningCompleteableFuturePut.
505
524
*
506
525
* @param bodies a Map of URI keys with InputStream values
507
526
* @param contentType a content Type
508
527
*/
509
- void joiningCompletableFuturePut (Map <URI , InputStream > bodies , final String
510
- contentType );
528
+ void joiningCompletableFuturePut (Map <URI , InputStream > bodies , final String contentType );
511
529
512
530
}
0 commit comments