Skip to content

Add a method on ResourceService listing the supported interaction models #92

@acoburn

Description

@acoburn

As discussed in #88, it would be helpful to introduce a method on the ResourceService interface that returns the supported LDP interaction models. That way, failures for non-supported LDP types can happen higher in the stack. It also makes testing more flexible, as non-relevant tests can be ignored.

One possibility for the signature for this method could be:

Set<IRI> ResourceService::supportedInteractionModels();

The default implementation could include all LDP resource types (LDP-RS, LDP-NR, LDP-C, LDP-BC, LDP-DC, LDP-IC) but if a persistence layer has a different level of support, the method can be overridden to list only those types that are supported.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions