@Singleton public class ElasticStackErrorHandler extends Object implements HttpErrorHandler
Modifier and Type | Field and Description |
---|---|
protected Logger |
logger |
NOOP
Constructor and Description |
---|
ElasticStackErrorHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handleError(HttpCommand command,
HttpResponse response) |
String |
parseMessage(HttpResponse response) |
protected Logger logger
public void handleError(HttpCommand command, HttpResponse response)
handleError
in interface HttpErrorHandler
public String parseMessage(HttpResponse response)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.