org.apache.hadoop.hbase.rest
Class MetaHandler

java.lang.Object
  extended by org.apache.hadoop.hbase.rest.GenericHandler
      extended by org.apache.hadoop.hbase.rest.MetaHandler

public class MetaHandler
extends GenericHandler

MetaHandler fields all requests for metadata at the instance level. At the momment this is only GET requests to /.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.rest.GenericHandler
GenericHandler.ContentType
 
Field Summary
 
Fields inherited from class org.apache.hadoop.hbase.rest.GenericHandler
ACCEPT, admin, COLUMN, conf, CONTENT_TYPE, END_ROW, LOG, REGIONS, ROW, START_ROW, TIMESTAMP
 
Constructor Summary
MetaHandler(HBaseConfiguration conf, HBaseAdmin admin)
           
 
Method Summary
 void doDelete(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String[] pathSegments)
           
 void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String[] pathSegments)
           
 void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String[] pathSegments)
           
 void doPut(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, String[] pathSegments)
           
 
Methods inherited from class org.apache.hadoop.hbase.rest.GenericHandler
doElement, doMethodNotAllowed, doNotAcceptable, doNotAcceptable, doNotFound, doNotFound, getTable, getTableName, getXMLOutputter, outputColumnsMime, outputColumnsXml, setResponseHeader
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetaHandler

public MetaHandler(HBaseConfiguration conf,
                   HBaseAdmin admin)
            throws javax.servlet.ServletException
Throws:
javax.servlet.ServletException
Method Detail

doGet

public void doGet(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response,
                  String[] pathSegments)
           throws javax.servlet.ServletException,
                  IOException
Throws:
javax.servlet.ServletException
IOException

doPost

public void doPost(javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response,
                   String[] pathSegments)
            throws javax.servlet.ServletException,
                   IOException
Throws:
javax.servlet.ServletException
IOException

doPut

public void doPut(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response,
                  String[] pathSegments)
           throws javax.servlet.ServletException,
                  IOException
Throws:
javax.servlet.ServletException
IOException

doDelete

public void doDelete(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response,
                     String[] pathSegments)
              throws javax.servlet.ServletException,
                     IOException
Throws:
javax.servlet.ServletException
IOException


Copyright © 2006 The Apache Software Foundation