All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jn.langx.pipeline.NoopHandler Maven / Gradle / Ivy

Go to download

Java lang extensions for java6+, a supplement to , replacement of a Guava, commons-lang. Core utilities, Collection utilities, IO utilities, Cache, Configuration library ...

There is a newer version: 4.8.2
Show newest version
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);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy