Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/SeleniumHQ/selenium
/ bytes
Method
bytes
java/src/org/openqa/selenium/remote/http/Contents.java:101–103 ·
view source on GitHub ↗
(byte[] bytes)
Source
from the content-addressed store, hash-verified
99
}
100
101
public
static
Supplier bytes(byte[] bytes) {
102
return
new
BytesContentSupplier(bytes);
103
}
104
105
public
static
byte[] bytes(Supplier supplier) {
106
Require.nonNull(
"Supplier of input"
, supplier);
Callers
15
ProxyServer
Method · 0.95
canUploadAFile
Method · 0.95
canDownloadAFile
Method · 0.95
canDownloadMultipleFile
Method · 0.95
canDownloadFileThrowsErrorMsgWhenWrongPayloadIsGiven
Method · 0.95
canDownloadFileThrowsErrorMsgWhenFileNotFound
Method · 0.95
shouldNotInstantiateSessionIfRemoteEndReturnsInvalidResponse
Method · 0.95
empty
Method · 0.95
string
Method · 0.95
asJson
Method · 0.95
setContent
Method · 0.95
extractContent
Method · 0.95
Calls
3
nonNull
Method · 0.95
toByteArray
Method · 0.80
get
Method · 0.65
Tested by
10
ProxyServer
Method · 0.76
canUploadAFile
Method · 0.76
canDownloadAFile
Method · 0.76
canDownloadMultipleFile
Method · 0.76
canDownloadFileThrowsErrorMsgWhenWrongPayloadIsGiven
Method · 0.76
canDownloadFileThrowsErrorMsgWhenFileNotFound
Method · 0.76
shouldNotInstantiateSessionIfRemoteEndReturnsInvalidResponse
Method · 0.76
shouldBeAbleToHandleGatewayTimeoutError
Method · 0.64
shouldBeAbleToHandleBadGatewayError
Method · 0.64
createValidResponse
Method · 0.64