Class PostStatementApplication
java.lang.Object
dev.learning.xapi.samples.poststatement.PostStatementApplication
- All Implemented Interfaces:
org.springframework.boot.CommandLineRunner
@SpringBootApplication
public class PostStatementApplication
extends Object
implements org.springframework.boot.CommandLineRunner
Sample using xAPI client to post a statement.
- Author:
- Thomas Turrell-Croft
-
Constructor Summary
ConstructorsConstructorDescriptionPostStatementApplication(org.springframework.web.reactive.function.client.WebClient.Builder webClientBuilder) Constructor for application. -
Method Summary
-
Constructor Details
-
PostStatementApplication
public PostStatementApplication(org.springframework.web.reactive.function.client.WebClient.Builder webClientBuilder) Constructor for application. In this sample the WebClient.Builder instance is injected by the Spring Framework.
-
-
Method Details
-
main
-
run
- Specified by:
runin interfaceorg.springframework.boot.CommandLineRunner- Throws:
Exception
-