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 org.vertx.java.core.json.JsonObject |
buildFault(java.lang.Throwable e) |
static ServerFault |
parseFault(RestResponse response) |
static RestResponse |
replyFault(int statusCode,
java.lang.String statusMessage,
org.vertx.java.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 org.vertx.java.core.json.JsonObject buildFault(java.lang.Throwable e)
public static RestResponse replyFault(int statusCode, java.lang.String statusMessage, org.vertx.java.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.