public UnknownContentTypeException(final String contentType) { super(0005/* errorCode */, SPARQL_DYNAMIC_ERROR_0005, new NV[] { new NV("Content-Type", contentType) }); }
public SolutionSetDoesNotExistException(final String solutionSet) { super(0004/* errorCode */, SPARQL_DYNAMIC_ERROR_0004, new NV[] { new NV("name", solutionSet) }); }
public UnknownContentTypeException(final String contentType) { super(0005/* errorCode */, SPARQL_DYNAMIC_ERROR_0005, new NV[] { new NV("Content-Type", contentType) }); }
public SolutionSetExistsException(final String solutionSet) { super(0003/* errorCode */, SPARQL_DYNAMIC_ERROR_0003, new NV[] { new NV("name", solutionSet) }); }
public SolutionSetDoesNotExistException(final String solutionSet) { super(0004/* errorCode */, SPARQL_DYNAMIC_ERROR_0004, new NV[] { new NV("name", solutionSet) }); }
public SolutionSetExistsException(final String solutionSet) { super(0003/* errorCode */, SPARQL_DYNAMIC_ERROR_0003, new NV[] { new NV("name", solutionSet) }); }
public GraphEmptyException(final URI graphUri) { super(0002/* errorCode */, SPARQL_DYNAMIC_ERROR_0002, new NV[] { new NV("uri", graphUri.stringValue()) }); }
public GraphExistsException(final URI graphUri) { super(0001/* errorCode */, SPARQL_DYNAMIC_ERROR_0001, new NV[] { new NV("uri", graphUri.stringValue()) }); }
public GraphExistsException(final URI graphUri) { super(0001/* errorCode */, SPARQL_DYNAMIC_ERROR_0001, new NV[] { new NV("uri", graphUri.stringValue()) }); }
public GraphEmptyException(final URI graphUri) { super(0002/* errorCode */, SPARQL_DYNAMIC_ERROR_0002, new NV[] { new NV("uri", graphUri.stringValue()) }); }
/** * * @param s * The value to be parsed. * * @throws NullPointerException * if the argument is <code>null</code> */ public MiniMime(final String s) { final String[] b = s.split(";"); mimeType = b[0].trim(); float q = 1f; // params = new String[b.length][]; for (int i = 1; i < b.length; i++) { final String c = b[i]; final String[] d = c.split("="); if (d.length < 2) continue; params.add(new NV(d[0].trim(), d[1].trim())); // params[i] = d; // params[i][0] = d[0]; // params[i][1] = d[1]; if (!d[0].equals("q")) continue; q = Float.valueOf(d[1]); } if (log.isDebugEnabled()) log.debug("Considering: " + s + " :: q=" + q); this.q = q; }
defaultProperties, new NV[] { new NV(TestOptions.NCLIENTS, "20") })); defaultProperties, new NV[] { new NV(TestOptions.NCLIENTS, "20"), new NV(TestOptions.PERCENT_READERS,"0.0"), new NV(TestOptions.TIMEOUT,"10") })); defaultProperties, new NV[] { new NV(TestOptions.NCLIENTS, "20"), new NV(TestOptions.PERCENT_READERS,"1.0"), new NV(TestOptions.TIMEOUT,"10")}));
defaultProperties, new NV[] { new NV(TestOptions.NCLIENTS, "1") })); defaultProperties, new NV[] { new NV(TestOptions.NCLIENTS, "2") })); defaultProperties, new NV[] { new NV(TestOptions.NCLIENTS, "10") })); defaultProperties, new NV[] { new NV(TestOptions.NCLIENTS, "20") })); defaultProperties, new NV[] { new NV(TestOptions.NCLIENTS, "100") })); defaultProperties, new NV[] { new NV(TestOptions.NCLIENTS, "200") }));
defaultProperties, new NV[] { new NV(TestOptions.NCLIENTS, "1") })); defaultProperties, new NV[] { new NV(TestOptions.NCLIENTS, "2") })); defaultProperties, new NV[] { new NV(TestOptions.NCLIENTS, "10") })); defaultProperties, new NV[] { new NV(TestOptions.NCLIENTS, "20") })); defaultProperties, new NV[] { new NV(TestOptions.NCLIENTS, "100") })); defaultProperties, new NV[] { new NV(TestOptions.NCLIENTS, "200") }));
new NV("Location", locationURI) );
new NV("Location", locationURI) );
MIME_APPLICATION_XML, w.toString(), new NV("Location", txURL));
MIME_APPLICATION_XML, w.toString(), new NV("Location", txURL));
new NV("Cache-Control", "no-cache")
new NV("Cache-Control", "no-cache")