Value.Array, Value.Missing, Value.Object, Value.Simple
Modifier and Type | Method and Description |
---|---|
byte[] |
bytes() |
ReadableByteChannel |
channel() |
static Body |
empty() |
boolean |
isInMemory() |
long |
length() |
static Body |
of(byte[] bytes) |
static Body |
of(InputStream stream,
long contentLength) |
static Body |
of(Path file) |
InputStream |
stream() |
default String |
value(Charset charset) |
array, booleanValue, booleanValue, byteValue, byteValue, create, doubleValue, doubleValue, fileUpload, floatValue, floatValue, get, get, headers, intValue, intValue, isArray, isMissing, isObject, isSimple, isUpload, iterator, longValue, longValue, missing, name, object, path, queryString, resolve, resolve, resolve, resolve, size, to, to, to, toEnum, toEnum, toList, toList, toList, toMap, toMultimap, toOptional, toOptional, toOptional, toSet, toSet, value, value, value, value
forEach, spliterator
byte[] bytes()
boolean isInMemory()
long length()
ReadableByteChannel channel()
InputStream stream()
static Body empty()
static Body of(@Nonnull InputStream stream, long contentLength)
Copyright © 2019. All rights reserved.