question: public void disconnect ( final String uri , final String cookie , final String session ) throws VNXFilePluginException { _logger . debug ( "Invoking disconnect method to send request." ) ; PostMethod postMethod = null ; try { postMethod = new PostMethod ( uri ) ; _logger . debug ( "Querying the url {} to disconnect session." , uri ) ; postMethod . setRequestHeader ( VNXFileConstants . COOKIE , cookie ) ; if ( null != session ) { postMethod . setRequestHeader ( VNXFileConstants . CELERRA_SESSION , session ) ; postMethod . setRequestHeader ( "CelerraConnector-Ctl" , "DISCONNECT" ) ; } setTimeoutValues ( ) ; final int response = _client . executeMethod ( postMethod ) ; if ( response != HttpStatus . SC_OK ) { _logger . error ( "Invalid response received from XML API Server while disconnecting session." + "HTTP Error code: {}" , response ) ; throw new VNXFilePluginException ( "Invalid response received from XML API Server while disconnecting session" , VNXFilePluginException . ERRORCODE_INVALID_RESPONSE ) ; } _logger . debug ( "Session disconnected with XML API Server." ) ; } catch ( final IOException ioEx ) { _logger . error ( "IOException occurred while sending the disconnect request due to {}" , ioEx . getMessage ( ) ) ; throw new VNXFilePluginException ( "IOException occurred while sending the disconnect request." , ioEx . getCause ( ) ) ; } catch ( final Exception ex ) { _logger . error ( "Exception occurred while sending the disconnect request due to {}" , ex . getMessage ( ) ) ; throw new VNXFilePluginException ( "Exception occurred while sending the disconnect request." , ex ) ; } }
target:  Client which sends the request to disconnect session with XML API Server.