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

com.oath.micro.server.rest.jersey.AsyncBinder Maven / Gradle / Ivy

There is a newer version: 1.2.6
Show newest version
package com.oath.micro.server.rest.jersey;

import org.glassfish.hk2.utilities.binding.AbstractBinder;
import org.glassfish.jersey.server.spi.internal.ResourceMethodDispatcher;
import org.glassfish.jersey.server.spi.internal.ResourceMethodInvocationHandlerProvider;

import javax.inject.Singleton;


public class AsyncBinder extends AbstractBinder {

    @Override
    protected void configure() {
        bind(AsyncInvocationHandler.AsyncResourceMethodInvocationHandlerProvider.class)
            .to(ResourceMethodInvocationHandlerProvider.class)
            .in(Singleton.class);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy