org.glassfish.jersey.server.spi.internal.ResourceMethodInvocationHandlerProvider Java Examples

The following examples show how to use org.glassfish.jersey.server.spi.internal.ResourceMethodInvocationHandlerProvider. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: RxJerseyServerFeature.java    From rx-jersey with MIT License 5 votes vote down vote up
@Override
protected void configure() {
    bind(MaybeInvocationHandlerProvider.class)
            .to(ResourceMethodInvocationHandlerProvider.class)
            .in(Singleton.class);

    interceptors.forEach(interceptor -> bind(interceptor)
            .to(CompletableRequestInterceptor.class)
            .in(Singleton.class)
    );
}
 
Example #2
Source File: RxJerseyServerFeature.java    From rx-jersey with MIT License 5 votes vote down vote up
@Override
protected void configure() {
    bind(SingleInvocationHandlerProvider.class)
            .to(ResourceMethodInvocationHandlerProvider.class)
            .in(Singleton.class);

    interceptors.forEach(interceptor -> bind(interceptor)
            .to(CompletableRequestInterceptor.class)
            .in(Singleton.class)
    );
}
 
Example #3
Source File: CustomBinder3.java    From micro-server with Apache License 2.0 4 votes vote down vote up
@Override
protected void configure() {
    // this is where the magic happens!
    bind(CustomResourceInvocationHandlerProvider.class).to(
            ResourceMethodInvocationHandlerProvider.class);
}
 
Example #4
Source File: CustomBinder2.java    From micro-server with Apache License 2.0 4 votes vote down vote up
@Override
protected void configure() {
    // this is where the magic happens!
    bind(CustomResourceInvocationHandlerProvider.class).to(
            ResourceMethodInvocationHandlerProvider.class);
}
 
Example #5
Source File: CustomBinder4.java    From micro-server with Apache License 2.0 4 votes vote down vote up
@Override
protected void configure() {
    // this is where the magic happens!
    bind(DirectCustomResourceInvocationHandlerProvider.class).to(
            ResourceMethodInvocationHandlerProvider.class);
}
 
Example #6
Source File: CustomBinder.java    From micro-server with Apache License 2.0 4 votes vote down vote up
@Override
protected void configure() {
    // this is where the magic happens!
    bind(CustomResourceInvocationHandlerProvider.class).to(
            ResourceMethodInvocationHandlerProvider.class);
}
 
Example #7
Source File: CustomBinder3.java    From micro-server with Apache License 2.0 4 votes vote down vote up
@Override
protected void configure() {
    // this is where the magic happens!
    bind(CustomResourceInvocationHandlerProvider.class).to(
            ResourceMethodInvocationHandlerProvider.class);
}
 
Example #8
Source File: CustomBinder2.java    From micro-server with Apache License 2.0 4 votes vote down vote up
@Override
protected void configure() {
    // this is where the magic happens!
    bind(CustomResourceInvocationHandlerProvider.class).to(
            ResourceMethodInvocationHandlerProvider.class);
}
 
Example #9
Source File: CustomBinder4.java    From micro-server with Apache License 2.0 4 votes vote down vote up
@Override
protected void configure() {
    // this is where the magic happens!
    bind(DirectCustomResourceInvocationHandlerProvider.class).to(
            ResourceMethodInvocationHandlerProvider.class);
}
 
Example #10
Source File: CustomBinder.java    From micro-server with Apache License 2.0 4 votes vote down vote up
@Override
protected void configure() {
    // this is where the magic happens!
    bind(CustomResourceInvocationHandlerProvider.class).to(
            ResourceMethodInvocationHandlerProvider.class);
}
 
Example #11
Source File: AsyncBinder.java    From micro-server with Apache License 2.0 4 votes vote down vote up
@Override
protected void configure() {
    bind(AsyncInvocationHandler.AsyncResourceMethodInvocationHandlerProvider.class)
        .to(ResourceMethodInvocationHandlerProvider.class)
        .in(Singleton.class);
}
 
Example #12
Source File: CustomBinder.java    From micro-server with Apache License 2.0 4 votes vote down vote up
@Override
protected void configure() {
    // this is where the magic happens!
    bind(CustomResourceInvocationHandlerProvider.class).to(
            ResourceMethodInvocationHandlerProvider.class);
}
 
Example #13
Source File: CustomBinder.java    From micro-server with Apache License 2.0 4 votes vote down vote up
@Override
protected void configure() {
    // this is where the magic happens!
    bind(CustomResourceInvocationHandlerProvider.class).to(
            ResourceMethodInvocationHandlerProvider.class);
}
 
Example #14
Source File: CustomBinder.java    From micro-server with Apache License 2.0 4 votes vote down vote up
@Override
protected void configure() {
    // this is where the magic happens!
    bind(CustomResourceInvocationHandlerProvider.class).to(
            ResourceMethodInvocationHandlerProvider.class);
}
 
Example #15
Source File: JerseyServerContainer.java    From JaxRSProviders with Apache License 2.0 4 votes vote down vote up
@Override
protected void configure() {
	bind(provider).to(ResourceMethodInvocationHandlerProvider.class);
}