Return-Path: X-Original-To: apmail-incubator-jena-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-jena-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 884789188 for ; Mon, 13 Feb 2012 22:09:23 +0000 (UTC) Received: (qmail 99339 invoked by uid 500); 13 Feb 2012 22:09:23 -0000 Delivered-To: apmail-incubator-jena-dev-archive@incubator.apache.org Received: (qmail 99307 invoked by uid 500); 13 Feb 2012 22:09:23 -0000 Mailing-List: contact jena-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jena-dev@incubator.apache.org Delivered-To: mailing list jena-dev@incubator.apache.org Received: (qmail 99299 invoked by uid 99); 13 Feb 2012 22:09:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Feb 2012 22:09:23 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Feb 2012 22:09:20 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id AD6EC1B5C68 for ; Mon, 13 Feb 2012 22:08:59 +0000 (UTC) Date: Mon, 13 Feb 2012 22:08:59 +0000 (UTC) From: "Andy Seaborne (Resolved) (JIRA)" To: jena-dev@incubator.apache.org Message-ID: <1342363064.33745.1329170939712.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <819878169.21343.1328822697252.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Resolved] (JENA-210) Make QueryEngineHttp more configurable MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JENA-210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andy Seaborne resolved JENA-210. -------------------------------- Resolution: Fixed Assignee: Andy Seaborne Now in trunk. > Make QueryEngineHttp more configurable > -------------------------------------- > > Key: JENA-210 > URL: https://issues.apache.org/jira/browse/JENA-210 > Project: Jena > Issue Type: Improvement > Components: ARQ > Affects Versions: ARQ 2.9.0 > Reporter: Rob Vesse > Assignee: Andy Seaborne > Labels: http, query, results, sparql > Fix For: ARQ 2.9.1 > > Attachments: HttpQueryEnhancements.patch > > > The current QueryEngineHttp is somewhat limited in that the Accept header is hardcoded to SPARQL Results XML or RDF/XML depending on the usage of the engine and there are a number of other features lacking including timeouts and support for requesting and reading compressed content. > The submitted patch here adds the following features: > 1 - Configurable Content Type support > A QueryEngineHttp instance can be configured to request different content types as required by the users. For CONSTRUCT/DESCRIBE whether the requested content type is valid is verified using RIOT and the parser for reading responses into models automatically selected. For ASK/SELECT the supported content types are defined in hard-coded lists and the parser selected via if statements. > In the future it is envisaged that ASK/SELECT supported format detection could be improved by wiring into whatever new machinery around handling result formats that ARQ/RIOT eventually supplies > 2 - Configuration Timeouts > Support for configuring Connection and Read Timeouts for queries > 3 - GZip and Deflate Compression Support > Support for specifying that the client will allow GZip/Deflate encoded content to be sent to it and for ensuring that the returned InputStream gets appropriately wrapped so the content is decompressed as read -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira