Package | Description |
---|---|
io.jooby |
Modifier and Type | Method and Description |
---|---|
Body |
ForwardingContext.body() |
Body |
Context.body()
HTTP body which provides access to body content.
|
static Body |
Body.empty()
Empty body.
|
static Body |
Body.of(byte[] bytes)
Creates a HTTP body from byte array.
|
static Body |
Body.of(InputStream stream,
long size)
Creates a HTTP body from input stream.
|
static Body |
Body.of(Path file)
Creates a HTTP body from file.
|
Copyright © 2019. All rights reserved.