@Override protected void initRequest(){
  super.initRequest();
  _state=_state.toActive();
  HttpBufferStore bufferStore=getHttpBufferStore();
  _method.clear();
  _methodString=null;
  _protocol.clear();
  _uriLength=0;
  if (bufferStore == null) {
    _uri=getSmallUriBuffer();
    _headerBuffer=getSmallHeaderBuffer();
    _headerKeys=getSmallHeaderKeys();
    _headerValues=getSmallHeaderValues();
  }
  _uriHost.clear();
  _host=null;
  _keepalive=KeepaliveState.INIT;
  _headerSize=0;
  _headerLength=0;
  _inOffset=0;
  _isChunkedIn=false;
  _isFirst=true;
}

@ Override protected void initRequest ( ) { super . initRequest ( ) ; _state = _state . toActive ( ) ; HttpBufferStore bufferStore = getHttpBufferStore ( ) ; _method . clear ( ) ; _methodString = null ; _protocol . clear ( ) ; _uriLength = 0 ; if ( bufferStore == null ) { _uri = getSmallUriBuffer ( ) ; _headerBuffer = getSmallHeaderBuffer ( ) ; _headerKeys = getSmallHeaderKeys ( ) ; _headerValues = getSmallHeaderValues ( ) ; } _uriHost . clear ( ) ; _host = null ; _keepalive = KeepaliveState . INIT ; _headerSize = 0 ; _headerLength = 0 ; _inOffset = 0 ; _isChunkedIn = false ; _isFirst = true ; }
clear the request variables in preparation for a new request .
