/** * get a Response from a SubFrame * @param request * @param requestContext * @return the WebResponse or null * @throws IOException * @throws SAXException */ WebResponse getSubframeResponse( WebRequest request, RequestContext requestContext ) throws IOException, SAXException { WebResponse response = getResource( request ); return response == null ? null : updateWindow( request.getTarget(), response, requestContext ); }
/** * get a Response from a SubFrame * @param request * @param requestContext * @return the WebResponse or null * @throws IOException * @throws SAXException */ WebResponse getSubframeResponse( WebRequest request, RequestContext requestContext ) throws IOException, SAXException { WebResponse response = getResource( request ); return response == null ? null : updateWindow( request.getTarget(), response, requestContext ); }
/** * get a Response from a SubFrame * @param request * @param requestContext * @return the WebResponse or null * @throws IOException * @throws SAXException */ WebResponse getSubframeResponse( WebRequest request, RequestContext requestContext ) throws IOException, SAXException { WebResponse response = getResource( request ); return response == null ? null : updateWindow( request.getTarget(), response, requestContext ); }
/** * Updates this web client based on a received response. This includes updating * cookies and frames. This method is required by ServletUnit, which cannot call the updateWindow method directly. **/ final protected void updateMainWindow( FrameSelector frame, WebResponse response ) throws IOException, SAXException { getMainWindow().updateWindow( frame.getName(), response, new RequestContext() ); }
/** * Updates this web client based on a received response. This includes updating * cookies and frames. This method is required by ServletUnit, which cannot call the updateWindow method directly. **/ final protected void updateMainWindow( FrameSelector frame, WebResponse response ) throws IOException, SAXException { getMainWindow().updateWindow( frame.getName(), response, new RequestContext() ); }
/** * Updates this web client based on a received response. This includes updating * cookies and frames. This method is required by ServletUnit, which cannot call the updateWindow method directly. **/ final protected void updateMainWindow( FrameSelector frame, WebResponse response ) throws IOException, SAXException { getMainWindow().updateWindow( frame.getName(), response, new RequestContext() ); }