Package | Description |
---|---|
io.restassured | |
io.restassured.builder | |
io.restassured.internal | |
io.restassured.internal.support | |
io.restassured.parsing | |
io.restassured.response | |
io.restassured.specification |
Modifier and Type | Field and Description |
---|---|
static Parser |
RestAssured.defaultParser
Specify a default parser.
|
Modifier and Type | Method and Description |
---|---|
static void |
RestAssured.registerParser(String contentType,
Parser parser)
Register a custom content-type to be parsed using a predefined parser.
|
Modifier and Type | Method and Description |
---|---|
ResponseSpecBuilder |
ResponseSpecBuilder.registerParser(String contentType,
Parser parser)
Register a content-type to be parsed using a predefined parser.
|
ResponseSpecBuilder |
ResponseSpecBuilder.setDefaultParser(Parser parser)
Register a default predefined parser that will be used if no other parser (registered or pre-defined) matches the response
content-type.
|
Modifier and Type | Method and Description |
---|---|
Parser |
ResponseParserRegistrar.getNonDefaultParser(String contentType) |
Parser |
ResponseParserRegistrar.getParser(String contentType) |
Modifier and Type | Method and Description |
---|---|
T |
ValidatableResponseOptionsImpl.defaultParser(Parser parser) |
ResponseSpecification |
ResponseSpecificationImpl.defaultParser(Parser parser) |
T |
ValidatableResponseOptionsImpl.parser(String contentType,
Parser parser) |
ResponseSpecification |
ResponseSpecificationImpl.parser(String contentType,
Parser parser) |
void |
ResponseParserRegistrar.registerDefaultParser(Parser parser) |
void |
ResponseParserRegistrar.registerParser(String contentType,
Parser parser) |
Modifier and Type | Method and Description |
---|---|
String |
Prettifier.prettify(String body,
Parser parser) |
Modifier and Type | Method and Description |
---|---|
static Parser |
Parser.fromContentType(String contentType) |
static Parser |
Parser.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Parser[] |
Parser.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
T |
ValidatableResponseOptions.defaultParser(Parser parser)
Register a default predefined parser that will be used if no other parser (registered or pre-defined) matches the response
content-type.
|
T |
ValidatableResponseOptions.parser(String contentType,
Parser parser)
Register a content-type to be parsed using a predefined parser.
|
Modifier and Type | Method and Description |
---|---|
ResponseSpecification |
ResponseSpecification.defaultParser(Parser parser)
Register a default predefined parser that will be used if no other parser (registered or pre-defined) matches the response
content-type.
|
ResponseSpecification |
ResponseSpecification.parser(String contentType,
Parser parser)
Register a content-type to be parsed using a predefined parser.
|
Copyright © 2010–2017. All rights reserved.