org.jboss.aerogear.controller.router.error
Class ErrorResponseImpl
java.lang.Object
org.jboss.aerogear.controller.router.error.ErrorResponseImpl
- All Implemented Interfaces:
- ErrorResponse
public class ErrorResponseImpl
- extends Object
- implements ErrorResponse
statusCode
private final int statusCode
content
private final Object content
ErrorResponseImpl
public ErrorResponseImpl(int statusCode,
Object content)
statusCode
public int statusCode()
- Specified by:
statusCode in interface ErrorResponse
content
public Object content()
- Specified by:
content in interface ErrorResponse
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.