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

io.mstream.trader.datafeed.handlers.admin.AdminChain Maven / Gradle / Ivy

The newest version!
package io.mstream.trader.datafeed.handlers.admin;


import io.mstream.trader.datafeed.handlers.admin.cache.api.Cache;
import ratpack.func.Action;
import ratpack.handling.Chain;

import javax.inject.Inject;


class AdminChain
        implements Action {
    
    private final Action cacheChain;
    
    @Inject
    public AdminChain(
            @Cache
                    Action cacheChain
    ) {
        
        this.cacheChain = cacheChain;
    }
    
    @Override
    public void execute(Chain chain)
            throws Exception {
        
        chain.prefix("caches", cacheChain);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy