![JAR search and dependency download from the Maven repository](/logo.png)
com.hextremelabs.ussd.rpc.ApplicationConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of lib-ussd Show documentation
Show all versions of lib-ussd Show documentation
A lightweight USSD application framework
package com.hextremelabs.ussd.rpc;
import javax.ws.rs.ApplicationPath;
import javax.ws.rs.core.Application;
import java.util.Set;
/**
* @author oladeji
*/
@ApplicationPath("ussd")
public class ApplicationConfig extends Application {
@Override
public Set> getClasses() {
Set> resources = new java.util.HashSet<>();
addRestResourceClasses(resources);
return resources;
}
/**
* Do not modify addRestResourceClasses() method.
* It is automatically populated with
* all resources defined in the project.
* If required, comment out calling this method in getClasses().
*/
private void addRestResourceClasses(Set> resources) {
resources.add(com.hextremelabs.ussd.rpc.Endpoint.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy