File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
rdf4j/src/main/java/com/inrupt/client/rdf4j Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ private static Model responseToModel(final Response.ResponseInfo responseInfo) {
7272 * Populate a RDF4J {@link Model} with an HTTP response.
7373 *
7474 * @return an HTTP body handler
75- * @deprecated
75+ * @deprecated Use {@link RDF4JBodyHandlers#ofRDF4JModel} instead for consistent HTTP error handling.
7676 */
7777 public static Response .BodyHandler <Model > ofModel () {
7878 return RDF4JBodyHandlers ::responseToModel ;
@@ -110,7 +110,7 @@ private static Repository responseToRepository(final Response.ResponseInfo respo
110110 * Populate a RDF4J {@link Repository} with an HTTP response.
111111 *
112112 * @return an HTTP body handler
113- * @deprecated
113+ * @deprecated Use {@link RDF4JBodyHandlers#ofRDF4JRepository} instead for consistent HTTP error handling.
114114 */
115115 public static Response .BodyHandler <Repository > ofRepository () {
116116 return RDF4JBodyHandlers ::responseToRepository ;
You can’t perform that action at this time.
0 commit comments