Closed AnotherDaniel closed 7 months ago
Folks, feel free to question the spec if you disagree with any of it...
Wouldn't say this is about the spec, more about the java implementation? Like - do we want these methods to return true for method uris with name "warpcount" or instance names like "sensoresponset"?
In up-rust, we decided to do a strict equals-check, which is why I brought this up here to potentially get things consistent...
Fair enough. It should be "rpc." in the name so if Java is not looking for this then it is a bug for me to fix :-).
merged
@AnotherDaniel giving notice to other implementations. We love to see it. :rocket: :rocket: :rocket: :rocket:
According to the spec, UriValidator methods isRpcMethod() and isRpcResponse() should check for equality of resource name and instance (should be 'rpc' and 'response', respectively). The up-java implementation uses .contains() for this check, which is not quite up to spec.