public class HttpPostCommand extends HttpCommand
CONTENT_LENGTH, CONTENT_TYPE, CONTENT_TYPE_BINARY, CONTENT_TYPE_JSON, CONTENT_TYPE_PLAIN_TEXT, HEADER_CHUNKED, HEADER_CONTENT_LENGTH, HEADER_CONTENT_TYPE, HEADER_CUSTOM_PREFIX, HEADER_EXPECT_100, nextLine, RES_100, RES_200, RES_200_WITH_NO_CONTENT, RES_204, RES_400, RES_403, RES_404, RES_500, RES_503, response, uri
type
Constructor and Description |
---|
HttpPostCommand(TextDecoder decoder,
String uri) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getData() |
boolean |
readFrom(ByteBuffer src)
POST /path HTTP/1.0
User-Agent: HTTPTool/1.0
Content-TextCommandType: application/x-www-form-urlencoded
Content-Length: 45
|
getURI, send200, send204, send400, send403, send404, send500, setResponse, setResponse, setResponse, shouldReply, toString, writeTo
getDecoder, getEncoder, getFrameLength, getRequestId, getType, init, isUrgent
public HttpPostCommand(TextDecoder decoder, String uri)
public boolean readFrom(ByteBuffer src)
readFrom
in interface TextCommand
readFrom
in class HttpCommand
src
- public byte[] getData()
Copyright © 2019 Hazelcast, Inc.. All Rights Reserved.