Constructor and Description |
---|
NettyBody(Context ctx,
io.netty.handler.codec.http.multipart.HttpData data,
long contentLength) |
Modifier and Type | Method and Description |
---|---|
byte[] |
bytes() |
ReadableByteChannel |
channel() |
ValueNode |
get(int index) |
ValueNode |
get(String name) |
long |
getSize() |
boolean |
isInMemory() |
String |
name() |
InputStream |
stream() |
<T> T |
to(Type type) |
Map<String,List<String>> |
toMultimap() |
String |
value() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
iterator, resolve, resolve, resolve, resolve, size
forEach, spliterator
array, booleanValue, booleanValue, byteValue, byteValue, create, create, doubleValue, doubleValue, floatValue, floatValue, hash, intValue, intValue, isArray, isMissing, isObject, isSingle, longValue, longValue, missing, toEnum, toEnum, toMap, toOptional, toOptional, toSet, value, value, value, valueOrNull
public NettyBody(Context ctx, io.netty.handler.codec.http.multipart.HttpData data, long contentLength)
public boolean isInMemory()
isInMemory
in interface Body
public InputStream stream()
public ReadableByteChannel channel()
Copyright © 2019. All rights reserved.