public URL getServiceURL ( ) { return new URL ( this . protocol , this . adapterAddress , this . deviceAddress , this . deviceAttributes , this . serviceUUID , null , null ) ; }
Returns a copy of a given URL truncated to its service component . Characteristic and field components will be null .