code: public URL getCharacteristicURL() {
          return new URL(this.protocol, this.adapterAddress, this.deviceAddress, this.deviceAttributes, this.serviceUUID,
                  this.characteristicUUID, null);
      }
docs: Returns a copy of a given URL truncated to its characteristic component.
  The field component will be null.
  @return a copy of a given URL truncated to the service component