CmisServerHttpAdapter class

Server HTTP adapter

Inheritance

Constructors

CmisServerHttpAdapter()
Default constructor
CmisServerHttpAdapter.withCompleter([dynamic completion])
Optional completer

Properties

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

Methods

generateErrorResponse(dynamic response, int status) → void
Error response
override
generateSuccessResponse(JsonObjectLite response) → void
Success response
override
httpFormDataRequest(String method, String? url, [dynamic formData, Map<String, String>? headers]) → void
Not used on the server
override
httpFormRequest(String method, String? url, [Map? data, Map<String, String>? headers]) → void
Not used on the server
override
httpRequest(String method, String? url, [String? data, Map<String, String>? headers]) → void
Processes the HTTP request, returning the server's response via the completion callback.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onError(dynamic response) → void
Error
override
onSuccess(dynamic response) → void
Successful completion
override
toString() String
A string representation of this object.
inherited

Operators

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