CmisHttpAdapter class abstract

HTTP Adapter interface

Implementers

Constructors

CmisHttpAdapter()
Default constructor
CmisHttpAdapter.withCompletion([dynamic completion])
Constructor with completer

Properties

allResponseHeaders String?
All response headers
getter/setter pair
completion ↔ dynamic
Completion callback
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
jsonResponse ↔ dynamic
All responses are JSON Objects
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

generateErrorResponse(JsonObjectLite response, int status) → void
Error
generateSuccessResponse(JsonObjectLite response) → void
Success
httpFormDataRequest(String method, String? url, [dynamic formData, Map<String, String>? headers]) → void
Processes the HTTP POST(Form Multi Part)request returning the server's response as a JSON Object.
httpFormRequest(String method, String? url, [Map? data, Map<String, String>? headers]) → void
Processes the HTTP POST(Form)request returning the server's response as a JSON Object
httpRequest(String method, String? url, [String? data, Map<String, String>? headers]) → void
Processes the HTTP request returning the server's response as a JSON Object
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onError(dynamic response) → void
Error
onSuccess(dynamic response) → void
Success
toString() String
A string representation of this object.
inherited

Operators

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