Package | Description |
---|---|
io.restassured.config |
Modifier and Type | Method and Description |
---|---|
XmlConfig |
XmlConfig.allowDocTypeDeclaration(boolean allowDocTypeDeclaration)
Configure if XmlPath should provide support for DOCTYPE declarations (default is ).
|
XmlConfig |
XmlConfig.and()
For syntactic sugar.
|
XmlConfig |
XmlConfig.declareNamespace(String prefix,
String namespaceURI)
Declares a namespace and also sets
namespaceAware(boolean) to true . |
XmlConfig |
XmlConfig.declareNamespaces(Map<String,String> namespacesToDeclare)
Specify declared namespaces that will be used when parsing XML.
|
XmlConfig |
XmlConfig.disableLoadingOfExternalDtd()
Disables external DTD loading.
|
XmlConfig |
XmlConfig.feature(String uri,
boolean enabled)
Set a value of a feature flag.
|
XmlConfig |
XmlConfig.features(Map<String,Boolean> features)
Specify features that will be used when parsing XML.
|
XmlConfig |
RestAssuredConfig.getXmlConfig() |
XmlConfig |
XmlConfig.namespaceAware(boolean shouldBeAwareOfNamespaces)
Configure whether or not REST Assured should be aware of namespaces when parsing XML (default is ).
|
XmlConfig |
XmlConfig.properties(Map<String,Object> properties)
Specify properties that will be used when parsing XML.
|
XmlConfig |
XmlConfig.property(String name,
Object value)
Set a value of a property.
|
XmlConfig |
XmlConfig.validating(boolean isValidating)
Configure if XmlPath should validate documents as they are parsed (default is ).
|
XmlConfig |
XmlConfig.with()
For syntactic sugar.
|
static XmlConfig |
XmlConfig.xmlConfig() |
Modifier and Type | Method and Description |
---|---|
RestAssuredConfig |
RestAssuredConfig.xmlConfig(XmlConfig xmlConfig)
Set the Xml config.
|
Constructor and Description |
---|
RestAssuredConfig(RedirectConfig redirectConfig,
HttpClientConfig httpClientConfig,
LogConfig logConfig,
EncoderConfig encoderConfig,
DecoderConfig decoderConfig,
SessionConfig sessionConfig,
ObjectMapperConfig objectMapperConfig,
ConnectionConfig connectionConfig,
JsonConfig jsonConfig,
XmlConfig xmlConfig,
SSLConfig sslConfig,
MatcherConfig matcherConfig,
HeaderConfig headerConfig,
MultiPartConfig multiPartConfig,
ParamConfig paramConfig,
OAuthConfig oAuthConfig,
FailureConfig failureConfig)
Create a new RestAssuredConfiguration with the supplied
RedirectConfig , HttpClientConfig , LogConfig ,
EncoderConfig , DecoderConfig , SessionConfig , ObjectMapperConfig , ConnectionConfig ,
JsonConfig , XmlConfig , SSLConfig ,
MatcherConfig , HeaderConfig , MultiPartConfig |
Copyright © 2010–2022. All rights reserved.