Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/OpenFeign/feign
/ asString
Method
asString
core/src/main/java/feign/Request.java:548–550 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
546
}
547
548
public
String asString() {
549
return
!isBinary() ?
new
String(data, encoding) :
"Binary data"
;
550
}
551
552
public
boolean isBinary() {
553
return
encoding == null || data == null;
Callers
5
toString
Method · 0.45
assertRequest
Method · 0.45
handleRequest
Method · 0.45
nonRequiredRequestBodyIsNull
Method · 0.45
nonRequiredRequestBodyIsObject
Method · 0.45
Calls
1
isBinary
Method · 0.95
Tested by
4
assertRequest
Method · 0.36
handleRequest
Method · 0.36
nonRequiredRequestBodyIsNull
Method · 0.36
nonRequiredRequestBodyIsObject
Method · 0.36