@Override
public void handleGet(ServletServiceRequest request, ServletServiceResponse response,
OperationDiagnostics stats) throws IOException
{
final OperationMetrics metrics = _listMetrics;
Context timer = (metrics == null) ? null : metrics.start();
try {
K prefix = _findKey(request, response);
if (prefix == null) {
super.handleGet(request, response, stats);
return;
}
_storeHandler.listEntries(request, response, prefix, stats);
_addStdHeaders(response);
response.writeOut(null);
} finally {
if (metrics != null) {
metrics.finish(timer, stats);
}
}
}