question: public IRemoteTxState0 statusTx ( final long txId ) throws RemoteTransactionNotFoundException { final ConnectOptions opts = new ConnectOptions ( mgr . getBaseServiceURL ( ) + "/tx/" + Long . toString ( txId ) ) ; opts . method = "POST" ; opts . addRequestParam ( "STATUS" ) ; JettyResponseListener response = null ; try { RemoteRepository . checkResponseCode ( response = mgr . doConnect ( opts ) ) ; return singleTxResponse ( response ) ; } catch ( HttpException ex ) { switch ( ex . getStatusCode ( ) ) { case 404 : throw new RemoteTransactionNotFoundException ( txId , mgr . getBaseServiceURL ( ) ) ; default : throw new RuntimeException ( ex ) ; } } catch ( Exception t ) { throw new RuntimeException ( t ) ; } finally { if ( response != null ) response . abort ( ) ; } }
target:  STATUS-TX: Return information about a transaction, including whether or not it is active.