public class RequestBuilder
extends java.lang.Object
Constructor and Description |
---|
RequestBuilder() |
RequestBuilder(java.lang.String commandString,
MethodType method,
byte[] body) |
Modifier and Type | Method and Description |
---|---|
Command |
build() |
MethodType |
getMethod() |
java.lang.String |
getPath() |
ApiConfig.ConfigEntry |
getPathConfig() |
void |
setBody(byte[] body) |
void |
setMethod(MethodType method) |
void |
setPath(java.lang.String header) |
void |
setPathConfig(ApiConfig.ConfigEntry config) |
public RequestBuilder()
public RequestBuilder(java.lang.String commandString, MethodType method, byte[] body)
public Command build()
public void setBody(byte[] body)
public MethodType getMethod()
public void setMethod(MethodType method)
public void setPath(java.lang.String header)
public java.lang.String getPath()
public void setPathConfig(@Nullable ApiConfig.ConfigEntry config)
@Nullable public ApiConfig.ConfigEntry getPathConfig()