com.datastax.stargate.sdk.audit.AnsiConsoleLogger Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of stargate-sdk Show documentation
Show all versions of stargate-sdk Show documentation
Connect to Stargate Data Gateway
package com.datastax.stargate.sdk.audit;
import com.evanlennick.retry4j.Status;
public class AnsiConsoleLogger implements ApiInvocationObserver {
/** {@inheritDoc} */
@Override
public void onCall(ApiInvocationEvent event) {
System.out.println("Http (" + String.valueOf(event.getResponseCode()) + ") on " + event.getRequestUrl());
}
/** {@inheritDoc} */
@Override
public void onHttpSuccess(Status s) {
}
/** {@inheritDoc} */
@Override
public void onHttpCompletion(Status s) {
}
/** {@inheritDoc} */
@Override
public void onHttpFailure(Status s) {
}
/** {@inheritDoc} */
@Override
public void onHttpFailedTry(Status s) {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy