public interface ContentHandle
Modifier and Type | Method and Description |
---|---|
byte[] |
bytes() |
String |
content() |
static ContentHandle |
create(byte[] bytes) |
static ContentHandle |
create(InputStream stream) |
static ContentHandle |
create(String content) |
InputStream |
stream() |
static ContentHandle create(InputStream stream)
static ContentHandle create(byte[] bytes)
static ContentHandle create(String content)
InputStream stream()
byte[] bytes()
String content()
Copyright © 2020 Red Hat. All rights reserved.