CmisBrowserHttpAdapter class
Browser HTTP adapter
- Inheritance
-
- Object
- CmisHttpAdapter
- CmisBrowserHttpAdapter
Constructors
- CmisBrowserHttpAdapter()
- Default constructor
- CmisBrowserHttpAdapter.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 -
Processes the HTTP POST(Form Multi Part) request, returning the server's response
via the completion callback.
override
-
httpFormRequest(
String method, String? url, [Map? data, Map< String, String> ? headers]) → void -
Processes the HTTP POST(Form)request, returning the server's response
via the completion callback.
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) → FutureOr< HttpRequest> -
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