jena-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject svn commit: r1556333 - /jena/trunk/jena-arq/src/main/java/org/apache/jena/riot/web/HttpNames.java
Date Tue, 07 Jan 2014 19:55:39 GMT
Author: andy
Date: Tue Jan  7 19:55:39 2014
New Revision: 1556333

URL: http://svn.apache.org/r1556333
Log:
More constants for HTTP.

Modified:
    jena/trunk/jena-arq/src/main/java/org/apache/jena/riot/web/HttpNames.java

Modified: jena/trunk/jena-arq/src/main/java/org/apache/jena/riot/web/HttpNames.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-arq/src/main/java/org/apache/jena/riot/web/HttpNames.java?rev=1556333&r1=1556332&r2=1556333&view=diff
==============================================================================
--- jena/trunk/jena-arq/src/main/java/org/apache/jena/riot/web/HttpNames.java (original)
+++ jena/trunk/jena-arq/src/main/java/org/apache/jena/riot/web/HttpNames.java Tue Jan  7 19:55:39
2014
@@ -21,18 +21,22 @@ package org.apache.jena.riot.web;
 public class HttpNames
 {
     public static final String hAccept              = "Accept" ;
-    public static final String hAllow               = "Allow" ;
     public static final String hAcceptEncoding      = "Accept-Encoding" ;
     public static final String hAcceptCharset       = "Accept-Charset" ;
     public static final String hAcceptRanges        = "Accept-Ranges" ;
     
+    public static final String hAllow               = "Allow" ;
     public static final String hContentEncoding     = "Content-Encoding" ;
     public static final String hContentLengh        = "Content-Length" ;
     public static final String hContentLocation     = "Content-Location" ;
     public static final String hContentRange        = "Content-Range" ;
     public static final String hContentType         = "Content-Type" ;
+    public static final String hPragma              = "Pragma" ;
+    public static final String hCacheControl        = "Cache-Control" ;
+    public static final String hRetryAfter          = "Retry-After" ;
     public static final String hServer              = "Server" ;
     public static final String hLocation            = "Location" ; 
+    public static final String hVary                = "Vary" ;
     public static final String charset              = "charset" ;
     
     // CORS: 
@@ -54,10 +58,12 @@ public class HttpNames
     public static final String paramOutput2         = "format" ;        // Alternative name

     public static final String paramCallback        = "callback" ;
     public static final String paramForceAccept     = "force-accept" ;  // Force the accept
header at the last moment
+    public static final String paramTimeout         = "timeout" ;
     
     public static final String paramUpdate          = "update" ;
-    public static final String paramRequest         = "request" ;       // Alternative name.

-    
+    public static final String paramRequest         = "request" ; 
+    public static final String paramUsingGraphURI        = "using-graph-uri" ;
+    public static final String paramUsingNamedGraphURI   = "using-named-graph-uri" ;
     
     public static final String METHOD_DELETE        = "DELETE";
     public static final String METHOD_HEAD          = "HEAD";
@@ -71,14 +77,5 @@ public class HttpNames
     public static final String HEADER_IFMODSINCE    = "If-Modified-Since";
     public static final String HEADER_LASTMOD       = "Last-Modified";
     
-    public static final String ServiceQuery     = "/query" ;
-    public static final String ServiceQueryAlt  = "/sparql" ;
-    public static final String ServiceUpdate    = "/update" ;
-    public static final String ServiceData      = "/data" ;
-    public static final String ServiceUpload    = "/upload" ;
-    
-    // Posisble values of fields.
-    // TODO Pull in from results writer.
     public static final String valueDefault    = "default" ;
-    
 }



Mime
View raw message