public class Request extends com.yahoo.component.provider.FreezableClass implements Cloneable
Modifier and Type | Field and Description |
---|---|
static CompoundName |
CHAIN
The name of the chain of Processor instances which will be invoked when
executing a request.
|
private List<ErrorMessage> |
errors
The errors encountered while processing this request
|
static CompoundName |
JDISC_REQUEST
The name of the request property used in the processing framework to
store the incoming JDisc request.
|
private Properties |
properties |
Constructor and Description |
---|
Request()
Creates a request with no properties
|
Request(Properties properties)
Create a request with the given properties.
|
Modifier and Type | Method and Description |
---|---|
Request |
clone()
Returns a clone of this request.
|
List<ErrorMessage> |
errors()
Returns the list of errors encountered while processing this request, never null.
|
Properties |
properties()
Returns the properties set on this request.
|
private Properties properties
private List<ErrorMessage> errors
public static final CompoundName CHAIN
public static final CompoundName JDISC_REQUEST
public Request()
public Request(Properties properties)
properties
- the properties owner by thispublic Properties properties()
public List<ErrorMessage> errors()
public Request clone()
The properties are logically deeply cloned such that changes to properties in the clone are independent.
The errors of the original request are not cloned into the new instance: It will have an empty list of errors.
clone
in class com.yahoo.component.provider.FreezableClass
Copyright © 2018. All rights reserved.