public final class Expectation extends Parameter
Constructor and Description |
---|
Expectation(String name)
Constructor for directives with no value.
|
Expectation(String name,
String value)
Constructor for directives with a value.
|
Modifier and Type | Method and Description |
---|---|
static Expectation |
continueResponse()
Creates a "100-continue" expectation.
|
boolean |
equals(Object other) |
List<Parameter> |
getParameters()
Returns the list of parameters.
|
void |
setParameters(List<Parameter> parameters)
Sets the list of parameters.
|
compareTo, create, encode, encode, getName, getValue, setName, setValue
public Expectation(String name)
name
- The directive name.public static Expectation continueResponse()
public List<Parameter> getParameters()
Copyright © 2005–2016. All rights reserved.