public class HttpRequestMessage extends HttpMessage
CR, LF, SPACE
Constructor and Description |
---|
HttpRequestMessage(byte[] method,
byte[] path,
byte[] version) |
Modifier and Type | Method and Description |
---|---|
HttpRequestMessage |
_clone() |
byte[] |
getBytes(boolean addCrLf) |
String |
getMethod() |
String |
getPath() |
String |
getVersion() |
boolean |
isGet() |
boolean |
isHead() |
void |
setPath(byte[] path) |
concatBytes, loadFields, loadRequest, loadRequest, loadResponse, loadResponse, readLine
public HttpRequestMessage(byte[] method, byte[] path, byte[] version)
public String getMethod()
public String getPath()
public String getVersion()
public HttpRequestMessage _clone()
public void setPath(byte[] path)
public byte[] getBytes(boolean addCrLf)
public boolean isHead()
public boolean isGet()
Copyright © 2005–2015 IIPC. All rights reserved.