public class ClientGenerator extends Generator
Generator.Result
Modifier and Type | Field and Description |
---|---|
static int |
MAX_PARAM_LENGTH |
byteBufferPool, MAX_CONTENT_LENGTH
Constructor and Description |
---|
ClientGenerator(ByteBufferPool byteBufferPool) |
Modifier and Type | Method and Description |
---|---|
Generator.Result |
generateRequestContent(int request,
ByteBuffer content,
boolean lastContent,
Callback callback) |
Generator.Result |
generateRequestHeaders(int request,
HttpFields fields,
Callback callback) |
generateContent
public static final int MAX_PARAM_LENGTH
public ClientGenerator(ByteBufferPool byteBufferPool)
public Generator.Result generateRequestHeaders(int request, HttpFields fields, Callback callback)
public Generator.Result generateRequestContent(int request, ByteBuffer content, boolean lastContent, Callback callback)
Copyright © 1995-2015 Webtide. All Rights Reserved.