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

org.pac4j.jax.rs.rules.ContainerRule Maven / Gradle / Ivy

There is a newer version: 6.0.1
Show newest version
package org.pac4j.jax.rs.rules;

import java.util.Set;

import javax.ws.rs.client.WebTarget;

import org.assertj.core.util.Sets;
import org.junit.rules.TestRule;
import org.pac4j.jax.rs.TestConfig;
import org.pac4j.jax.rs.resources.TestClassLevelResource;
import org.pac4j.jax.rs.resources.TestProxyResource;
import org.pac4j.jax.rs.resources.TestResource;

public interface ContainerRule extends TestRule, TestConfig {

    WebTarget getTarget(String url);

    String cookieName();

    default Set> getResources() {
        return Sets.newLinkedHashSet(TestResource.class, TestClassLevelResource.class, TestProxyResource.class);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy