public static enum AsyncHttpClientConfig.ResponseBodyPartFactory extends Enum<AsyncHttpClientConfig.ResponseBodyPartFactory>
Modifier and Type | Method and Description |
---|---|
abstract HttpResponseBodyPart |
newResponseBodyPart(io.netty.buffer.ByteBuf buf,
boolean last) |
static AsyncHttpClientConfig.ResponseBodyPartFactory |
valueOf(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic abstract HttpResponseBodyPart newResponseBodyPart(io.netty.buffer.ByteBuf buf, boolean last)
Copyright © 2016. All Rights Reserved.