org.apache.hadoop.hbase.rest
Class Status.StatusMessage

java.lang.Object
  extended by org.apache.hadoop.hbase.rest.Status.StatusMessage
All Implemented Interfaces:
ISerializable
Enclosing class:
Status

public static class Status.StatusMessage
extends Object
implements ISerializable


Constructor Summary
Status.StatusMessage(int statusCode, boolean error, Object o)
           
 
Method Summary
 boolean getError()
           
 Object getMessage()
           
 int getStatusCode()
           
 void restSerialize(IRestSerializer serializer)
          visitor pattern method where the object implementing this interface will call back on the IRestSerializer with the correct method to run to serialize the output of the object to the stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Status.StatusMessage

public Status.StatusMessage(int statusCode,
                            boolean error,
                            Object o)
Method Detail

getStatusCode

public int getStatusCode()

getError

public boolean getError()

getMessage

public Object getMessage()

restSerialize

public void restSerialize(IRestSerializer serializer)
                   throws HBaseRestException
Description copied from interface: ISerializable
visitor pattern method where the object implementing this interface will call back on the IRestSerializer with the correct method to run to serialize the output of the object to the stream.

Specified by:
restSerialize in interface ISerializable
Throws:
HBaseRestException


Copyright © 2010 The Apache Software Foundation