protected String getKey ( String hostName , String contextPath ) { return String . format ( "%s/%s" , ( hostName == null ? EMPTY : hostName ) , ( contextPath == null ? EMPTY : contextPath ) ) ; }
Return scope key . Scope key consists of host name concatenated with context path by slash symbol