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 ; }
Return the query URL encoded to bytes to be set as the Object . query on the Security Event