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

Method Response

core/src/main/java/feign/Response.java:36–44  ·  view source on GitHub ↗
(Builder builder)

Source from the content-addressed store, hash-verified

34 private final ProtocolVersion protocolVersion;
35
36 private Response(Builder builder) {
37 checkState(builder.request != null, "original request is required");
38 this.status = builder.status;
39 this.request = builder.request;
40 this.reason = builder.reason; // nullable
41 this.headers = caseInsensitiveCopyOf(builder.headers);
42 this.body = builder.body; // nullable
43 this.protocolVersion = builder.protocolVersion;
44 }
45
46 public Builder toBuilder() {
47 return new Builder(this);

Callers

nothing calls this directly

Calls 2

checkStateMethod · 0.80
caseInsensitiveCopyOfMethod · 0.80

Tested by

no test coverage detected