You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: rest-services/jersey-client/src/main/java/com/_4point/aem/docservices/rest_services/client/jersey/JerseyRestClient.java
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,6 @@
22
22
importjakarta.ws.rs.client.ClientBuilder;
23
23
importjakarta.ws.rs.client.Entity;
24
24
importjakarta.ws.rs.client.WebTarget;
25
-
importjakarta.ws.rs.core.HttpHeaders;
26
25
importjakarta.ws.rs.core.MediaType;
27
26
importjakarta.ws.rs.core.Response.Status;
28
27
importjakarta.ws.rs.core.Response.Status.Family;
@@ -122,7 +121,7 @@ private static Optional<Response> processResponse(jakarta.ws.rs.core.Response re
122
121
thrownewRestClientException("Call to server succeeded but server failed to return content. This should never happen.");
if ( responseContentType == null || !expectedMediaType.isCompatible(MediaType.valueOf(responseContentType))) {
127
126
Stringmsg = "Response from AEM server was not of expected type (" + expectedMediaType.toString() + "). " + (responseContentType != null ? "content-type='" + responseContentType + "'" : "content-type was null") + ".";
Copy file name to clipboardExpand all lines: spring/fluentforms-spring-boot-autoconfigure/src/main/java/com/_4point/aem/fluentforms/spring/rest_services/client/SpringRestClientRestClient.java
0 commit comments