Blob rework

This commit is contained in:
crschnick committed 2024-06-20 21:25:28 +00:00
1 parent 0587dea4ac
commit 02b979de6b
13 files changed
+208 -72

No files matched your search

@@ -75,4 +75,8 @@ public abstract class BeaconInterface<T> {
throws BeaconClientException, BeaconServerException {
throw new UnsupportedOperationException();
}
public boolean readRawRequestBody() {
return false;
}
}
@@ -15,12 +15,15 @@ public class FsBlobExchange extends BeaconInterface<FsBlobExchange.Request> {
return "/fs/blob";
}
@Override
public boolean readRawRequestBody() {
return true;
}
@Jacksonized
@Builder
@Value
public static class Request {
byte @NonNull [] payload;
}
public static class Request {}
@Jacksonized
@Builder