@Override public void closeWrite() throws IOException {
  if (_isCloseWrite) {
    return;
  }
  _isCloseWrite=true;
  boolean isShutdownOutput=false;
  if (_s != null) {
    try {
      _s.shutdownOutput();
      isShutdownOutput=true;
    }
 catch (    UnsupportedOperationException e) {
      log.log(Level.FINEST,e.toString(),e);
    }
catch (    Exception e) {
      log.finer(e.toString());
      log.log(Level.FINEST,e.toString(),e);
    }
  }
}

@ Override public void closeWrite ( ) throws IOException { if ( _isCloseWrite ) { return ; } _isCloseWrite = true ; boolean isShutdownOutput = false ; if ( _s != null ) { try { _s . shutdownOutput ( ) ; isShutdownOutput = true ; } catch ( UnsupportedOperationException e ) { log . log ( Level . FINEST , e . toString ( ) , e ) ; } catch ( Exception e ) { log . finer ( e . toString ( ) ) ; log . log ( Level . FINEST , e . toString ( ) , e ) ; } } }
closes the write half of the stream .
