public abstract class ApiRequest extends Object
| Constructor and Description |
|---|
ApiRequest(ApiCommand command) |
ApiRequest(String requestBody,
ApiCommand command) |
| Modifier and Type | Method and Description |
|---|---|
static ApiRequest |
fromRequestString(String requestBody) |
ApiCommand |
getCommand() |
String |
getRequestBody() |
abstract String |
toRequestString() |
public ApiRequest(String requestBody, ApiCommand command) throws ApiProtocolException
ApiProtocolExceptionpublic ApiRequest(ApiCommand command)
public String getRequestBody()
public ApiCommand getCommand()
public abstract String toRequestString()
public static ApiRequest fromRequestString(String requestBody)
Copyright © 2015. All rights reserved.