code: protected byte[] getQueryFromRequestDetails(RequestDetails theRequestDetails) {
  		byte[] query;
  		try {
  			query = theRequestDetails.getCompleteUrl().getBytes("UTF-8");
  		} catch (UnsupportedEncodingException e1) {
  			log.warn("Unable to encode URL to bytes in UTF-8, defaulting to platform default charset.", e1);
  			query = theRequestDetails.getCompleteUrl().getBytes();
  		}
  		return query;
  	}
docs: Return the query URL encoded to bytes to be set as the Object.query on the Security Event
  
  @param theRequestDetails
  the RequestDetails of the incoming request
  @return the query URL of the request encoded to bytes