NAME
AtteanX::Endpoint - SPARQL 1.1 Protocol Endpoint
VERSION
This document describes AtteanX::Endpoint version 0.003_03
SYNOPSIS
plackup -p 9091 scripts/endpoint.psgi
DESCRIPTION
The AtteanX::Endpoint class implements a PSGI SPARQL Protocol endpoint.
ATTRIBUTES
plannermodelconf-
A hash reference containing configuration data for the endpoint. For example:
{ endpoint => { service_description => { named_graphs => 1, default => 1, }, load_data => 0, update => 0, } } graph-
The Attean::API::IRI of the graph in the model that represents the default graph.
METHODS
run ( $request )-
Run the SPARQL request contained in the given
$requestobject and return a response object. wrap_response_with_encoding ( $request, $response, $ae, $body )-
If $ae includes 'gzip' as a requested Accept-Encoding value, and the body of $response (or $body) is non-empty, gzip-compress the content body, setting the response body to the new compressed data, and set Content-Encoding and Content-Length headers appropriately on $response. Otherwise, set the the response body to the uncompressed content, and set the Content-Length header on $response.
BUGS
Please report any bugs or feature requests to through the GitHub web interface at https://github.com/kasei/atteanx-endpoint/issues.
AUTHOR
Gregory Todd Williams <gwilliams@cpan.org>
COPYRIGHT
Copyright (c) Gregory Todd Williams. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.