org.jboss.aerogear.controller.router.error
Class JsonErrorResponse
java.lang.Object
org.jboss.aerogear.controller.router.error.JsonErrorResponse
public class JsonErrorResponse
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
statusCode
private final int statusCode
JsonErrorResponse
public JsonErrorResponse(int statusCode)
message
public ErrorResponse message(String key,
String value)
json
public ErrorResponse json(Object json)
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.