xdi2 client

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:

XDI2

Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.