use of ee.jakarta.tck.ws.rs.common.client.JdkLoggingFilter in project jaxrs-api by eclipse-ee4j.
the class JAXRSClientIT method startBuilderForMethod.
// ///////////////////////////////////////////////////////////////////////
// utility methods
protected Invocation.Builder startBuilderForMethod(String methodName) {
Client client = createClient();
client.register(new JdkLoggingFilter(false));
WebTarget target = client.target(getAbsoluteUrl(methodName));
Invocation.Builder ib = target.request();
return ib;
}
use of ee.jakarta.tck.ws.rs.common.client.JdkLoggingFilter in project jaxrs-api by eclipse-ee4j.
the class JAXRSClientIT method startAsyncInvokerForMethod.
// ///////////////////////////////////////////////////////////////////////
// utility methods
/**
* Create AsyncInvoker for given resource method and start time
*/
protected AsyncInvoker startAsyncInvokerForMethod(String methodName) {
Client client = createClient();
client.register(new JdkLoggingFilter(false));
WebTarget target = client.target(getAbsoluteUrl(methodName));
AsyncInvoker async = target.request().async();
setStartTime();
return async;
}
use of ee.jakarta.tck.ws.rs.common.client.JdkLoggingFilter in project jaxrs-api by eclipse-ee4j.
the class JAXRSClientIT method createBuilderForMethod.
/**
* Create Invocation.Builder for given resource method and start time
*/
protected Invocation.Builder createBuilderForMethod(String methodName) {
Client client = ClientBuilder.newClient();
client.register(new JdkLoggingFilter(false));
WebTarget target = client.target(getUrl(methodName));
Invocation.Builder builder = target.request();
return builder;
}
Aggregations