org.apache.hadoop.hbase.rest.serializer
Class AbstractRestSerializer
java.lang.Object
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. |
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 |
response
protected final javax.servlet.http.HttpServletResponse response
prettyPrint
protected final boolean prettyPrint
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