MCPcopy Index your code
hub / github.com/OpenFeign/feign / request

Method request

core/src/main/java/feign/RequestTemplate.java:287–292  ·  view source on GitHub ↗

Creates a Request from this template. The template must be resolved before calling this method, or an IllegalStateException will be thrown. @return a new Request instance. @throws IllegalStateException if this template has not been resolved.

()

Source from the content-addressed store, hash-verified

285 * @throws IllegalStateException if this template has not been resolved.
286 */
287 public Request request() {
288 if (!this.resolved) {
289 throw new IllegalStateException("template has not been resolved.");
290 }
291 return Request.create(this.method, this.url(), this.headers(), this.body, this);
292 }
293
294 /**
295 * Set the Http Method.

Callers 2

toStringMethod · 0.95

Calls 3

createMethod · 0.95
urlMethod · 0.95
headersMethod · 0.95

Tested by 1