public static enum AsyncHttpClientConfig.ResponseBodyPartFactory extends java.lang.Enum<AsyncHttpClientConfig.ResponseBodyPartFactory>
Modifier and Type | Method and Description |
---|---|
abstract HttpResponseBodyPart |
newResponseBodyPart(io.netty.buffer.ByteBuf buf,
boolean last) |
static AsyncHttpClientConfig.ResponseBodyPartFactory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AsyncHttpClientConfig.ResponseBodyPartFactory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AsyncHttpClientConfig.ResponseBodyPartFactory EAGER
public static final AsyncHttpClientConfig.ResponseBodyPartFactory LAZY
public static AsyncHttpClientConfig.ResponseBodyPartFactory[] values()
for (AsyncHttpClientConfig.ResponseBodyPartFactory c : AsyncHttpClientConfig.ResponseBodyPartFactory.values()) System.out.println(c);
public static AsyncHttpClientConfig.ResponseBodyPartFactory valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic abstract HttpResponseBodyPart newResponseBodyPart(io.netty.buffer.ByteBuf buf, boolean last)
Copyright © 2018. All Rights Reserved.