public void recycle() { inputBuffer.recycle(); outputBuffer.recycle(); this.socket = null; sslSupport = null; timeout = -1; resumeNotification = false; eventProcessing = true; }
public void recycle() { inputBuffer.recycle(); outputBuffer.recycle(); this.socket = null; sslSupport = null; timeout = -1; resumeNotification = false; eventProcessing = true; }
/** * Post process the http request, after the response has been * commited. */ public void postProcess(InputStream input, OutputStream output) throws Exception { if (!recycle){ started = false; inputBuffer = null; outputBuffer = null; response = null; if (isMonitoringEnabled()) { request.getRequestProcessor().setWorkerThreadID(0); adapter.fireAdapterEvent(Adapter.CONNECTION_PROCESSING_COMPLETED, request.getRequestProcessor()); } request = null; } else { inputBuffer.recycle(); outputBuffer.recycle(); } // Recycle ssl info sslSupport = null; if (error){ keepAlive = false; connectionHeaderValueSet = false; } }
inputBuffer.recycle(); outputBuffer.recycle(); this.socket = null;