Uses of Class
com.soklet.MarshaledResponse.Builder
Packages that use MarshaledResponse.Builder
-
Uses of MarshaledResponse.Builder in com.soklet
Methods in com.soklet that return MarshaledResponse.BuilderModifier and TypeMethodDescriptionSets a byte-array-backed response body, or removes any current body ifbytesisnull.MarshaledResponse.Builder.body(@Nullable MarshaledResponseBody body) Sets a response body descriptor, or removes any current body ifbodyisnull.MarshaledResponse.Builder.body(@Nullable ByteBuffer byteBuffer) Sets a byte-buffer-backed response body, or removes any current body ifbyteBufferisnull.MarshaledResponse.Builder.body(@NonNull FileChannel fileChannel, @NonNull Long offset, @NonNull Long count, @NonNull Boolean closeOnComplete) Sets a file-channel-backed response body.Sets a ranged path-backed response body.Sets a path-backed response body, or removes any current body ifpathisnull.MarshaledResponse.Builder.cookies(@Nullable Set<@NonNull ResponseCookie> cookies) MarshaledResponse.Builder.headers(@Nullable Map<@NonNull String, @NonNull Set<@NonNull String>> headers) MarshaledResponse.Builder.statusCode(@NonNull Integer statusCode) MarshaledResponse.Builder.withoutBody()Removes the response body from this builder.MarshaledResponse.withResponse(@NonNull Response response) Acquires a builder forMarshaledResponseinstances.MarshaledResponse.withStatusCode(@NonNull Integer statusCode) Acquires a builder forMarshaledResponseinstances.