org.littleshoot.proxy.ActivityTrackerAdapter Maven / Gradle / Ivy
package org.littleshoot.proxy;
import io.netty.handler.codec.http.HttpRequest;
import io.netty.handler.codec.http.HttpResponse;
import java.net.InetSocketAddress;
import javax.net.ssl.SSLSession;
/**
* Adapter of {@link ActivityTracker} interface that provides default no-op
* implementations of all methods.
*/
public class ActivityTrackerAdapter implements ActivityTracker {
@Override
public void bytesReceivedFromClient(FlowContext flowContext,
int numberOfBytes) {
}
@Override
public void requestReceivedFromClient(FlowContext flowContext,
HttpRequest httpRequest) {
}
@Override
public void bytesSentToServer(FullFlowContext flowContext, int numberOfBytes) {
}
@Override
public void requestSentToServer(FullFlowContext flowContext,
HttpRequest httpRequest) {
}
@Override
public void bytesReceivedFromServer(FullFlowContext flowContext,
int numberOfBytes) {
}
@Override
public void responseReceivedFromServer(FullFlowContext flowContext,
HttpResponse httpResponse) {
}
@Override
public void bytesSentToClient(FlowContext flowContext,
int numberOfBytes) {
}
@Override
public void responseSentToClient(FlowContext flowContext,
HttpResponse httpResponse) {
}
@Override
public void clientConnected(InetSocketAddress clientAddress) {
}
@Override
public void clientSSLHandshakeSucceeded(InetSocketAddress clientAddress,
SSLSession sslSession) {
}
@Override
public void clientDisconnected(InetSocketAddress clientAddress,
SSLSession sslSession) {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy