Package de.qytera.qtaf.http
Class RequestBuilder
java.lang.Object
de.qytera.qtaf.http.RequestBuilder
A wrapper around
Invocation.Builder used for building HTTP requests. The wrap is needed so that the request
path (e.g. https://example.org/a/b/c?d=f) remains exposed, which is very
useful for error messages.
Instances of RequestBuilder can be obtained using WebService.buildRequest(URI).
-
Method Summary
Modifier and TypeMethodDescriptionjakarta.ws.rs.client.Invocation.BuilderThe HTTP builder object, which can be used to specify request headers or the request's content type.getPath()The HTTP request's path (e.g.
-
Method Details
-
getPath
The HTTP request's path (e.g. https://example.org/a/b. -
getBuilder
public jakarta.ws.rs.client.Invocation.Builder getBuilder()The HTTP builder object, which can be used to specify request headers or the request's content type.
-