![JAR search and dependency download from the Maven repository](/logo.png)
io.progix.dropwizard.jooq.tenancy.PathParamTenantProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dropwizard-jooq Show documentation
Show all versions of dropwizard-jooq Show documentation
A Dropwizard bundle for jOOQ integration.
The newest version!
package io.progix.dropwizard.jooq.tenancy;
import org.glassfish.jersey.server.ContainerRequest;
public abstract class PathParamTenantProvider implements TenantProvider {
private final String pathParamIdentifier;
public PathParamTenantProvider(String pathParamIdentifier) {
this.pathParamIdentifier = pathParamIdentifier;
}
@Override
public String getTenantIdentifier(ContainerRequest request) {
return request.getUriInfo().getPathParameters().getFirst(pathParamIdentifier);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy