com.jn.langx.pipeline.NoopHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of langx-java Show documentation
Show all versions of langx-java Show documentation
Java lang extensions for java6+, a supplement to , replacement of a Guava, commons-lang.
Core utilities, Collection utilities, IO utilities, Cache, Configuration library ...
package com.jn.langx.pipeline;
import com.jn.langx.annotation.Singleton;
@Singleton
public class NoopHandler extends AbstractHandler {
private static final NoopHandler instance = new NoopHandler();
private NoopHandler() {
}
public static NoopHandler getInstance() {
return instance;
}
@Override
public void inbound(HandlerContext ctx) throws Throwable {
// NOOP
super.inbound(ctx);
}
@Override
public void outbound(HandlerContext ctx) throws Throwable {
// NOOP
super.outbound(ctx);
}
}