public class JsonObjectCodec
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
JsonObjectCodec.Body<T> |
static class |
JsonObjectCodec.Response<T> |
Constructor and Description |
---|
JsonObjectCodec() |
Modifier and Type | Method and Description |
---|---|
static io.vertx.core.json.JsonObject |
buildFault(java.lang.Throwable e) |
static ServerFault |
parseFault(RestResponse response) |
static RestResponse |
replyFault(int statusCode,
java.lang.String statusMessage,
io.vertx.core.json.JsonObject body) |
static RestResponse |
replyFault(int statusCode,
java.lang.String statusMessage,
java.lang.Throwable e) |
static RestResponse |
replyFault(java.lang.Throwable fault) |
static RestResponse |
replyServerFault(ServerFault e) |
public static ServerFault parseFault(RestResponse response)
public static final RestResponse replyFault(java.lang.Throwable fault)
public static io.vertx.core.json.JsonObject buildFault(java.lang.Throwable e)
public static RestResponse replyFault(int statusCode, java.lang.String statusMessage, io.vertx.core.json.JsonObject body)
public static RestResponse replyFault(int statusCode, java.lang.String statusMessage, java.lang.Throwable e)
public static RestResponse replyServerFault(ServerFault e)
Copyright © 2021. All Rights Reserved.