MindSphere SDK for Java - Overview¶
The MindSphere SDK for Java enables Java developers to work with the MindSphere IoT platform easily. It provides a Java client implementation for the RESTful MindSphere Platform APIs.
The MindSphere SDK for Java provides client implementations for the following APIs:
|IoT Time Series||3.1|
|IoT TS Aggregates||3.0|
See the Getting Started for installation and configuration of an API client.
Get the SDK¶
You can easily configure the MindSphere SDK for Java through configuration parameters such as proxy settings and connection time-outs.
Authorization handling mechanism¶
The MindSphere SDK for Java provides an easy authorization handling mechanism. Developers can configure user authorization tokens or service credentials. The MindSphere SDK provides multiple ways for setting up service credentials for use in an API client. Environment variables can be set for service credential configuration to generate authorization for API calls.
The MindSphere SDK for Java provides page iterator objects for easy pagination for most API clients. Developer applications can configure paging parameters and get next/previous or specific page data.
The MindSphere SDK for Java logging is configured with SLF4J, which is an abstraction layer that enables the use of any logging framework at runtime. Supported logging systems include the Java Logging Framework and Apache Log4j, among others. The MindSphere SDK logging can be enabled or disabled by the developer application.
See Logging for more information.
The MindSphere SDK for Java provides an exception handling mechanism. MindSphere SDK exceptions are structured to identify client and server exceptions. Information such as error code, message, HTTP status, logref and cause can help to easy identify exceptions.
See Exception Handling for more information.
Any questions left?
Except where otherwise noted, content on this site is licensed under the MindSphere Development License Agreement.