@Deprecated public class OperationResponse extends Object
Constructor and Description |
---|
OperationResponse()
Deprecated.
|
OperationResponse(Integer statusCode,
String statusMessage,
Buffer payload,
MultiMap headers)
Deprecated.
|
OperationResponse(JsonObject json)
Deprecated.
|
OperationResponse(OperationResponse other)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static OperationResponse |
completedWithJson(Buffer json)
Deprecated.
|
static OperationResponse |
completedWithJson(JsonArray jsonArray)
Deprecated.
|
static OperationResponse |
completedWithJson(JsonObject jsonObject)
Deprecated.
|
static OperationResponse |
completedWithPlainText(Buffer text)
Deprecated.
|
MultiMap |
getHeaders()
Deprecated.
|
Buffer |
getPayload()
Deprecated.
|
Integer |
getStatusCode()
Deprecated.
|
String |
getStatusMessage()
Deprecated.
|
OperationResponse |
putHeader(String key,
String value)
Deprecated.
|
OperationResponse |
setHeaders(MultiMap headers)
Deprecated.
|
OperationResponse |
setPayload(Buffer payload)
Deprecated.
|
OperationResponse |
setStatusCode(Integer statusCode)
Deprecated.
|
OperationResponse |
setStatusMessage(String statusMessage)
Deprecated.
|
JsonObject |
toJson()
Deprecated.
|
public OperationResponse()
public OperationResponse(JsonObject json)
public OperationResponse(Integer statusCode, String statusMessage, Buffer payload, MultiMap headers)
public OperationResponse(OperationResponse other)
public JsonObject toJson()
public Integer getStatusCode()
public String getStatusMessage()
public Buffer getPayload()
public MultiMap getHeaders()
public OperationResponse setHeaders(MultiMap headers)
public OperationResponse setStatusCode(Integer statusCode)
public OperationResponse setStatusMessage(String statusMessage)
public OperationResponse setPayload(Buffer payload)
public OperationResponse putHeader(String key, String value)
public static OperationResponse completedWithJson(JsonObject jsonObject)
public static OperationResponse completedWithJson(JsonArray jsonArray)
public static OperationResponse completedWithJson(Buffer json)
public static OperationResponse completedWithPlainText(Buffer text)
Copyright © 2024 Eclipse. All rights reserved.