use of javax.ws.rs.core.Cookie in project jersey by jersey.
the class CookieParamAsStringTest method testListGet.
@Test
public void testListGet() throws ExecutionException, InterruptedException {
initiateWebApplication(ResourceStringList.class);
_test("/", "application/list", new Cookie("args", "a"));
}
use of javax.ws.rs.core.Cookie in project jersey by jersey.
the class CookieParamAsStringTest method testStringGet.
@Test
public void testStringGet() throws ExecutionException, InterruptedException {
initiateWebApplication(ResourceString.class);
_test("/", new Cookie("arg1", "a"), new Cookie("arg2", "b"), new Cookie("arg3", "c"));
}
use of javax.ws.rs.core.Cookie in project jersey by jersey.
the class CookieParamAsStringTest method testStringListEmptyGet.
@Test
public void testStringListEmptyGet() throws ExecutionException, InterruptedException {
initiateWebApplication(ResourceStringListEmpty.class);
_test("/", "application/stringlist", new Cookie("args", ""));
}
use of javax.ws.rs.core.Cookie in project jersey by jersey.
the class CookieParamAsStringTest method testStringListGet.
@Test
public void testStringListGet() throws ExecutionException, InterruptedException {
initiateWebApplication(ResourceStringList.class);
_test("/", "application/stringlist", new Cookie("args", "a"));
}
use of javax.ws.rs.core.Cookie in project jersey by jersey.
the class CookieParamAsStringTest method testStringDefaultOverride.
@Test
public void testStringDefaultOverride() throws ExecutionException, InterruptedException {
initiateWebApplication(ResourceStringDefaultOverride.class);
_test("/", new Cookie("arg1", "d"), new Cookie("arg2", "e"), new Cookie("arg3", "f"));
}
Aggregations