Skip to content

Default rdf mimetype for json & xml handles on construct & describe #356

@sammefford

Description

@sammefford

We'd like to save users from typing:

JacksonHandle handle = new JacksonHandle();
handle.setMimetype(RDFMimeTypes.RDFJSON);
executeConstruct(qdef, handle);

If we default handles with Format.JSON to automatically use mimetype RDFJSON, instead they can simply do:

executeConstruct(qdef, new JacksonHandle());

We'd like to do the same for XML handles, so they'll default to RDFXML when sending a construct or describe.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions