sponge_client_dart library

Classes

ActionCallRequest
An action call request.
ActionCallResponse
An action call response.
ActionExecutionRequest
An action execution related request.
ActionMeta
An action metadata.
AnnotatedValue<T>
AnyType
An any type. It may be used in situations when type is not important.
AnyTypeUnitConverter
BinaryType
A binary (byte array) type. Provides an optional property mimeType.
BinaryTypeUnitConverter
BooleanType
A boolean type.
BooleanTypeUnitConverter
CategoryMeta
A category metadata.
CollectionType<T>
DataType<T>
A data type. Used for example in action arguments metadata.
DataTypeUtils
DateTimeType
A date/time type.
DateTimeTypeUnitConverter
DefaultTypeConverter
A default type converter.
DynamicType
An dynamic type representing dynamically typed values. A value of this type has to be an instance of DynamicValue.
DynamicTypeUnitConverter
DynamicValue<T>
A dynamic value that specifies its type.
GetActionsRequest
A get actions request.
GetActionsResponse
A get actions response.
GetKnowledgeBasesRequest
A get knowledge bases request.
GetKnowledgeBasesResponse
A get knowledge bases response.
GetVersionRequest
A get version request
GetVersionResponse
A get version response.
IntegerType
An integer type (commonly used integer type or long).
IntegerTypeUnitConverter
KnowledgeBaseMeta
A knowledge base metadata.
ListType
A list type. This type requires an elementType parameter, which is is a type of list elements.
ListTypeUnitConverter
LoginRequest
A login request.
LoginResponse
A login response.
LogoutRequest
A logout request.
LogoutResponse
A logout response.
MapType
A map type. This type requires two parameters: a type of keys and a type of values in the map.
MapTypeUnitConverter
NumberType
A number type, that include both integer and floating-point numbers.
NumberTypeUnitConverter
ObjectType
An object. This type requires a class name (typically a Java class name) as a constructor parameter.
ObjectTypeUnitConverter
ProcessorQualifiedVersion
A processor qualified version.
ProvideActionArgsRequest
A provide action arguments request.
ProvideActionArgsResponse
A provide action arguments response.
ProvidedMeta
A provided object metadata.
ProvidedValue<T>
A provided object value and a possible value set.
QualifiedDataType<T>
A qualified data type.
RecordType
A record type. This type requires a list of record field types. A value of this type has to be an instance of Map<String, dynamic> with elements corresponding to the field names and values.
RecordTypeUnitConverter
ReloadRequest
A reload request.
ReloadResponse
A reload response.
SendEventRequest
A send event request.
SendEventResponse
A send event response.
SpongeClientConstants
The Sponge client constants.
SpongeRequest
A base request.
SpongeRequestContext
SpongeResponse
A base response.
SpongeRestClient
A Sponge REST API client. [...]
SpongeRestClientConfiguration
A Sponge REST API configuration.
SpongeUtils
A set of utility methods.
StreamType
A stream type.
StreamTypeUnitConverter
StringType
A string type.
StringTypeUnitConverter
SubActionArgSpec
SubActionSpec
TypeConverter
A type converter.
TypeType
A type representing a data type. A value of this type has to be an instance of DataType.
TypeTypeUnitConverter
UnitTypeConverter<T, D extends DataType>
An unit type converter. All implementations should be stateless because one instance is shared by different invocations of marshal and unmarshal methods.
Validate
ValueSetMeta
A value set metadata.
VoidType
A void type that may be used to specify that an action returns no meaningful result.
VoidTypeUnitConverter

Enums

DataTypeKind
A data type kind.
DateTimeKind
A date/time kind.
SubActionType

Typedefs

ObjectTypeUnitConverterMapper(TypeConverter converter, dynamic value) → Future
OnRequestSerializedListener(SpongeRequest request, String requestString) → void
A callback that will be invoked when the request is serialized. Remember to obfuscate the password if the requestString is to be shown.
OnResponseDeserializedListener(SpongeRequest request, SpongeResponse response, String responseString) → void
A callback that will be invoked when the response is deserialized.
ResponseFromJsonCallback<R extends SpongeResponse>(Map<String, dynamic> json) → R

Exceptions / Errors

IncorrectKnowledgeBaseVersionException
A Sponge client exception for incorrect knowledge base version.
IncorrectUsernamePasswordException
A Sponge client exception for incorrect username or password version.
InvalidAuthTokenException
A Sponge client exception for invalid auth token.
SpongeClientException
A Sponge client exception.
SpongeException
A base Sponge exception.