voldemort.store.http
Class HttpResponseCodeErrorMapper.ResponseCode

java.lang.Object
  extended by voldemort.store.http.HttpResponseCodeErrorMapper.ResponseCode
Enclosing class:
HttpResponseCodeErrorMapper

public static final class HttpResponseCodeErrorMapper.ResponseCode
extends java.lang.Object

A struct to hold the response code and response text for an HTTP error.


Constructor Summary
HttpResponseCodeErrorMapper.ResponseCode(int responseCode, java.lang.String responseText)
           
 
Method Summary
 int getCode()
           
 java.lang.String getText()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpResponseCodeErrorMapper.ResponseCode

public HttpResponseCodeErrorMapper.ResponseCode(int responseCode,
                                                java.lang.String responseText)
Method Detail

getCode

public int getCode()

getText

public java.lang.String getText()


Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu