Skip to content
Markus Sabadello edited this page Feb 6, 2017 · 33 revisions

An XDI client that can send messages to an XDI endpoint, including discovery [.jar]

Topics

Maven Dependency

<dependency>
	<groupId>xdi2</groupId>
	<artifactId>xdi2-client</artifactId>
	<version>${xdi2-version}</version>
	<scope>compile</scope>
</dependency>

Quickstart

XDIAgent xdi = new XDIBasicAgent();

ContextNode context = xdi.get(XDIAddress.create("=markus<#email>&"), null);
System.out.println(context.getLiteral().getLiteralDataString());

Examples

For examples, see the following Github repository:

Clone this wiki locally