@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 HttpErrorHandlerpublic String parseMessage(HttpResponse response)
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.