public class NodeStatusServlet extends ServletBase
| Modifier and Type | Field and Description |
|---|---|
protected ClusterInfoHandler |
_handler |
protected com.fasterxml.jackson.databind.ObjectWriter |
_jsonWriter |
_basePath, _clusterView, _timeMaster, LOG| Constructor and Description |
|---|
NodeStatusServlet(SharedServiceStuff stuff,
ClusterInfoHandler h) |
| Modifier and Type | Method and Description |
|---|---|
void |
handleGet(ServletServiceRequest request,
ServletServiceResponse response,
com.fasterxml.storemate.store.util.OperationDiagnostics metadata)
GET is used for simple access of cluster status
|
void |
handlePost(ServletServiceRequest request,
ServletServiceResponse response,
com.fasterxml.storemate.store.util.OperationDiagnostics metadata)
POST is used for simple hello/goodbye style notifications.
|
_addStdHeaders, _trimPath, constructMetadata, constructRequest, constructResponse, doDelete, doGet, doHead, doPost, doPut, getClusterView, handleDelete, handleHead, handlePutdoOptions, doTrace, getLastModified, service, serviceprotected final ClusterInfoHandler _handler
protected final com.fasterxml.jackson.databind.ObjectWriter _jsonWriter
public NodeStatusServlet(SharedServiceStuff stuff, ClusterInfoHandler h)
public void handleGet(ServletServiceRequest request, ServletServiceResponse response, com.fasterxml.storemate.store.util.OperationDiagnostics metadata) throws IOException
handleGet in class ServletBaseIOExceptionpublic void handlePost(ServletServiceRequest request, ServletServiceResponse response, com.fasterxml.storemate.store.util.OperationDiagnostics metadata) throws IOException
handlePost in class ServletBaseIOExceptionCopyright © 2012-2014 fasterxml.com. All Rights Reserved.