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: ribbon/src/main/java/com/netflix/ribbon/http/HttpRequest.java
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -73,6 +73,9 @@ public final String getKey() {
73
73
this.cacheProvider = null;
74
74
}
75
75
this.template = requestBuilder.template();
76
+
if (!ByteBuf.class.isAssignableFrom(template.getClassType())) {
77
+
thrownewIllegalArgumentException("Return type other than ByteBuf is not currently supported as serialization functionality is still work in progress");
0 commit comments