Search in sources :

Example 1 with Builder

use of jakarta.ws.rs.client.Invocation.Builder in project jaxrs-api by eclipse-ee4j.

the class BuilderClientIT method invocation.

protected Invocation.Builder invocation() {
    Client client = ClientBuilder.newClient();
    WebTarget target = client.target(URL);
    Builder b = target.request();
    return b;
}
Also used : ResponseBuilder(jakarta.ws.rs.core.Response.ResponseBuilder) Builder(jakarta.ws.rs.client.Invocation.Builder) ClientBuilder(jakarta.ws.rs.client.ClientBuilder) WebTarget(jakarta.ws.rs.client.WebTarget) Client(jakarta.ws.rs.client.Client)

Aggregations

Client (jakarta.ws.rs.client.Client)1 ClientBuilder (jakarta.ws.rs.client.ClientBuilder)1 Builder (jakarta.ws.rs.client.Invocation.Builder)1 WebTarget (jakarta.ws.rs.client.WebTarget)1 ResponseBuilder (jakarta.ws.rs.core.Response.ResponseBuilder)1