| Package | Description |
|---|---|
| org.glassfish.admin.payload |
| Modifier and Type | Class and Description |
|---|---|
class |
InputStreamInboundPayload
Implementation of a Payload.Inbound that works with InputStreams
Usage is like this:
CommandRunner.CommandInvocation ci =
commandRunner.getCommandInvocation("some-command", areport, theSubject);
InputStreamPayload in = new InputStreamInboundPayload();
// get an InputStream is from somewhere
in.addStream("someoption", is)
// get another InputStream for the operand
in.addStream("DEFAULT", is)
ParameterMap map = new ParameterMap();
// populate map with other options
ci.inbound(in).parameters(map).execute();
|
static class |
TextPayloadImpl.Inbound |
| Modifier and Type | Method and Description |
|---|---|
static PayloadImpl.Inbound |
PayloadImpl.Inbound.newInstance(String payloadContentType,
InputStream is)
Creates a new Inbound Payload of the given content type, read from
the specified InputStream.
|
Copyright © 2017–2020 Eclipse Foundation. All rights reserved.