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

com.payneteasy.grpc.longpolling.server.LongPollingServerProvider Maven / Gradle / Ivy

The newest version!
package com.payneteasy.grpc.longpolling.server;

import io.grpc.ServerBuilder;
import io.grpc.ServerProvider;

public class LongPollingServerProvider extends ServerProvider {
    @Override
    protected boolean isAvailable() {
        return true;
    }

    @Override
    protected int priority() {
        return 5;
    }

    @Override
    protected ServerBuilder builderForPort(int port) {
        return new LongPollingServerBuilder();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy