in src/main/java/org/apache/sling/api/request/RequestDispatcherOptions.java [105:123]
public RequestDispatcherOptions(String options) {
if (options != null && options.length() > 0) {
if (options.indexOf(',') < 0 && options.indexOf('=') < 0) {
setForceResourceType(options.trim());
} else {
final StringTokenizer tk = new StringTokenizer(options, ",");
while (tk.hasMoreTokens()) {
String entry = tk.nextToken();
int equals = entry.indexOf('=');
if (equals > 0 && equals < entry.length() - 1) {
put(
entry.substring(0, equals).trim(),
entry.substring(equals + 1).trim());
}
}
}
}
}