Package | Description |
---|---|
io.jooby | |
io.jooby.internal |
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.
|
Modifier and Type | Class and Description |
---|---|
class |
ByteArrayBody |
class |
FileBody |
class |
InputStreamBody |
class |
WebSocketMessageImpl |
Modifier and Type | Method and Description |
---|---|
static Body |
ByteArrayBody.empty(Context ctx) |
Copyright © 2020. All rights reserved.