@Immutable public final class PipeSinkRequest extends PipeRequest
Modifier and Type | Class and Description |
---|---|
static class |
PipeSinkRequest.RequestType |
PipeRequest.LogLevel
Modifier and Type | Field and Description |
---|---|
static String |
DELETE_REQUEST_TYPE
Delete request type.
|
static int |
REQUEST_FORMAT_VERSION
The request format version.
|
static String |
UPDATE_REQUEST_TYPE
Update request type.
|
DEBUG_LEVEL, ERROR_LEVEL, FATAL_LEVEL, INFO_LEVEL, LINE_SEPARATOR, SPACE_PATTERN, TRACE_LEVEL, WARN_LEVEL
Modifier and Type | Method and Description |
---|---|
PointValue |
getPointValue()
Gets the point value.
|
PipeSinkRequest.RequestType |
getRequestType()
Gets the request's type.
|
static Optional<PipeSinkRequest> |
nextRequest()
Returns the next request.
|
void |
respond(int summary)
Responds to this request.
|
cleanString, debug, debug, error, error, fatal, fatal, firstLine, getRequestID, getVersion, info, info, log, log, nextLine, nextPointValue, parseInt, pointValueToString, stringToPointValue, trace, trace, warn, warn, writeLine, writePointValue
public static final String DELETE_REQUEST_TYPE
public static final int REQUEST_FORMAT_VERSION
public static final String UPDATE_REQUEST_TYPE
@Nonnull @CheckReturnValue public static Optional<PipeSinkRequest> nextRequest()
@Nonnull @CheckReturnValue public PointValue getPointValue()
@Nonnull @CheckReturnValue public PipeSinkRequest.RequestType getRequestType()
public void respond(int summary)
summary
- The response summary.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.