public static final void suppressBeginAndEndRequest() {
        if (!warnedAboutBeginAndEndRequest) {
            warnedAboutBeginAndEndRequest = true;

            StringBuilder stack = new StringBuilder();
            for (StackTraceElement frame : new Exception().getStackTrace())
                stack.append(EOLN).append(frame.toString());

            Tr.warning(tc, "DSRA8790_SUPPRESS_BEGIN_END_REQUEST", stack);
        }
    }
public static final void suppressBeginAndEndRequest ( ) { if ( ! warnedAboutBeginAndEndRequest ) { warnedAboutBeginAndEndRequest = true ; StringBuilder stack = new StringBuilder ( ) ; for ( StackTraceElement frame : new Exception ( ) . getStackTrace ( ) ) stack . append ( EOLN ) . append ( frame . toString ( ) ) ; Tr . warning ( tc , "DSRA8790_SUPPRESS_BEGIN_END_REQUEST" , stack ) ; } }
Logs a warning message indicating that Connection.beginRequest and Connection.endRequest
methods are suppressed.