com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client
Class Response<T>

java.lang.Object
  extended by com.atlassian.jira.webtests.ztests.bundledplugins2.rest.client.Response<T>

public class Response<T>
extends Object

An response, with optional error messages.

Since:
v4.3

Field Summary
 T body
           
 Errors entity
           
 int statusCode
           
 
Constructor Summary
Response(int statusCode, Errors entity)
           
Response(int statusCode, Errors entity, T body)
           
 
Method Summary
 boolean equals(Object obj)
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

statusCode

public final int statusCode

entity

public final Errors entity

body

public final T body
Constructor Detail

Response

public Response(int statusCode,
                Errors entity)

Response

public Response(int statusCode,
                Errors entity,
                T body)
Method Detail

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2002-2012 Atlassian. All Rights Reserved.