org.apache.hadoop.hbase.rest.serializer
Class AbstractRestSerializer

java.lang.Object
  extended by org.apache.hadoop.hbase.rest.serializer.AbstractRestSerializer
All Implemented Interfaces:
IRestSerializer
Direct Known Subclasses:
SimpleXMLSerializer

public abstract class AbstractRestSerializer
extends Object
implements IRestSerializer

Abstract object that is used as the base of all serializers in the REST based interface.


Field Summary
protected  boolean prettyPrint
           
protected  javax.servlet.http.HttpServletResponse response
           
 
Constructor Summary
AbstractRestSerializer(javax.servlet.http.HttpServletResponse response, boolean prettyPrint)
          Public constructor for AbstractRestSerializer.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.hbase.rest.serializer.IRestSerializer
serializeCell, serializeCellArray, serializeColumnDescriptor, serializeDatabaseMetadata, serializeRegionData, serializeRowResult, serializeRowResultArray, serializeScannerIdentifier, serializeStatusMessage, serializeTableDescriptor, serializeTimestamps, writeOutput
 

Field Detail

response

protected final javax.servlet.http.HttpServletResponse response

prettyPrint

protected final boolean prettyPrint
Constructor Detail

AbstractRestSerializer

public AbstractRestSerializer(javax.servlet.http.HttpServletResponse response,
                              boolean prettyPrint)
Public constructor for AbstractRestSerializer. This is the constructor that should be called whenever creating a RestSerializer object.

Parameters:
response -
prettyPrint -


Copyright © 2010 The Apache Software Foundation