code: public static ProtocolStrategy getStrategy(Resource resource)
  			throws ProtocolException {
  		if (resource == null) {
  			throw new ProtocolException(
  					"Unable to find implementation with resource : " + resource);
  		}
  		// search by url
  		ProtocolStrategy retval = findStrategyByUrl(resource);
  		if (retval != null) {
  			return retval;
  		}
  		throw new ProtocolException(
  				"This protocol has not yet been implemented : " + resource);
  	}
docs: <p>
  
  </p>
  
  @param resource
  @return
  @throws ProtocolException