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(Context ctx)
Empty body.
|
static Body |
Body.of(Context ctx,
byte[] bytes)
Creates a HTTP body from byte array.
|
static Body |
Body.of(Context ctx,
InputStream stream,
long size)
Creates a HTTP body from input stream.
|
static Body |
Body.of(Context ctx,
Path file)
Creates a HTTP body from file.
|
Copyright © 2019. All rights reserved.