mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-09-08 11:31:22 -04:00
Blob rework
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user