MCPcopy Create free account
hub / github.com/grpc/grpc-java / setRawQuery

Method setRawQuery

api/src/main/java/io/grpc/Uri.java:809–816  ·  view source on GitHub ↗

Specifies the query component of the new URI, possibly percent-encoded, exactly as it will appear in the string form of the built URI. 'query' must only contain codepoints from RFC 3986's "query" character class. Any other characters must be percent-encoded using UTF-8. Do not include the leadin

(@Nullable String query)

Source from the content-addressed store, hash-verified

807 * @return this, for fluent building
808 */
809 @CanIgnoreReturnValue
810 public Builder setRawQuery(@Nullable String query) {
811 if (query != null) {
812 checkPercentEncodedArg(query, "query", queryChars);
813 }
814 this.query = query;
815 return this;
816 }
817
818 /**
819 * Specifies the fragment component of the new URI (not including the leading '#').

Calls 1