aerogear-controller 1.0.1

org.jboss.aerogear.controller.router.error
Class ErrorResponseImpl

java.lang.Object
  extended by org.jboss.aerogear.controller.router.error.ErrorResponseImpl
All Implemented Interfaces:
ErrorResponse

public class ErrorResponseImpl
extends Object
implements ErrorResponse


Field Summary
private  Object content
           
private  int statusCode
           
 
Constructor Summary
ErrorResponseImpl(int statusCode, Object content)
           
 
Method Summary
 Object content()
           
 int statusCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

statusCode

private final int statusCode

content

private final Object content
Constructor Detail

ErrorResponseImpl

public ErrorResponseImpl(int statusCode,
                         Object content)
Method Detail

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

aerogear-controller 1.0.1

Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.