BaseResponseElementParser class final

Parser for response element, required parsers for child elements.

for single resource:

<response>
  <href> ... </href>
  <propstat> ... </propstat>
  <propstat> ... </propstat>
  <error> ... </error>
  <location> ... </location>
</response>

for multi resources:

<response>
  <href> ... </href>
  <href> ... </href>
  <status> ... </status>
  <error> ... </error>
  <location> ... </location>
</response>
Inheritance

Constructors

BaseResponseElementParser({required HrefElementParser hrefParser, required HttpStatusElementParser statusParser, required PropstatElementParser propstatParser, required ErrorElementParser? errorParser, required HrefElementParser? locationParser})
const

Properties

errorParser ErrorElementParser?
final
hashCode int
The hash code for this object.
no setterinherited
hrefParser HrefElementParser
final
locationParser HrefElementParser?
final
propstatParser PropstatElementParser
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
statusParser HttpStatusElementParser
final

Methods

bind(Stream<XmlElement> stream) Stream<Iterable<WebDavStdResource>>
Transforms the provided stream.
inherited
cast<RS, RT>() Converter<RS, RT>
Provides a Converter<RS, RT> view of this stream transformer.
inherited
convert(XmlElement input) Iterable<WebDavStdResource>
Converts input and returns the result of the conversion.
override
fuse<TT>(Converter<Iterable<WebDavStdResource>, TT> other) Converter<XmlElement, TT>
Fuses this with other.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
startChunkedConversion(Sink<Iterable<WebDavStdResource>> sink) Sink<XmlElement>
Starts a chunked conversion.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited