/** * Submits a GET method request and returns a response. * @exception SAXException thrown if there is an error parsing the retrieved page **/ public WebResponse getResponse( String urlString ) throws IOException, SAXException { return _mainWindow.getResponse( urlString ); }
/** * Submits a web request and returns a response. This is an alternate name for the getResponse method. * @return the WebResponse or null **/ public WebResponse sendRequest( WebRequest request ) throws IOException, SAXException { return getResponse( request ); }
/** * Submits a web request and returns a response, using all state developed so far as stored in * cookies as requested by the server. * @exception SAXException thrown if there is an error parsing the retrieved page **/ public WebResponse getResponse( WebRequest request ) throws IOException, SAXException { return _mainWindow.getResponse( request ); }
/** * Submits a web request and returns a response. This is an alternate name for the getResponse method. * @return the WebResponse or null **/ public WebResponse sendRequest( WebRequest request ) throws IOException, SAXException { return getResponse( request ); }
/** * Submits a GET method request and returns a response. * @exception SAXException thrown if there is an error parsing the retrieved page **/ public WebResponse getResponse( String urlString ) throws IOException, SAXException { return _mainWindow.getResponse( urlString ); }
/** * Submits a web request and returns a response, using all state developed so far as stored in * cookies as requested by the server. * @exception SAXException thrown if there is an error parsing the retrieved page **/ public WebResponse getResponse( WebRequest request ) throws IOException, SAXException { return _mainWindow.getResponse( request ); }
/** * Submits a GET method request and returns a response. * @exception SAXException thrown if there is an error parsing the retrieved page **/ public WebResponse getResponse( String urlString ) throws IOException, SAXException { return _mainWindow.getResponse( urlString ); }
/** * Submits a web request and returns a response, using all state developed so far as stored in * cookies as requested by the server. * @exception SAXException thrown if there is an error parsing the retrieved page **/ public WebResponse getResponse( WebRequest request ) throws IOException, SAXException { return _mainWindow.getResponse( request ); }
/** * Submits a web request and returns a response. This is an alternate name for the getResponse method. * @return the WebResponse or null **/ public WebResponse sendRequest( WebRequest request ) throws IOException, SAXException { return getResponse( request ); }
/** * Submits a GET method request and returns a response. * @exception SAXException thrown if there is an error parsing the retrieved page **/ public WebResponse getResponse( String urlString ) throws IOException, SAXException { return getResponse( new GetMethodWebRequest( urlString ) ); }
/** * Submits a GET method request and returns a response. * @exception SAXException thrown if there is an error parsing the retrieved page **/ public WebResponse getResponse( String urlString ) throws IOException, SAXException { return getResponse( new GetMethodWebRequest( urlString ) ); }
/** * Submits a GET method request and returns a response. * @exception SAXException thrown if there is an error parsing the retrieved page **/ public WebResponse getResponse( String urlString ) throws IOException, SAXException { return getResponse( new GetMethodWebRequest( urlString ) ); }
void sendRequest( URL url, String target ) { WebRequest wr = new GetMethodWebRequest( null, url.toExternalForm(), target ); try { _response.getWindow().getResponse( wr ); } catch (IOException e) { e.printStackTrace(); //To change body of catch statement use Options | File Templates. throw new RuntimeException( e.toString() ); } catch (SAXException e) { } }
void sendRequest( URL url, String target ) { WebRequest wr = new GetMethodWebRequest( null, url.toExternalForm(), target ); try { _response.getWindow().getResponse( wr ); } catch (IOException e) { e.printStackTrace(); //To change body of catch statement use Options | File Templates. throw new RuntimeException( e.toString() ); } catch (SAXException e) { } }
void sendRequest( URL url, String target ) { WebRequest wr = new GetMethodWebRequest( null, url.toExternalForm(), target ); try { _response.getWindow().getResponse( wr ); } catch (IOException e) { e.printStackTrace(); //To change body of catch statement use Options | File Templates. throw new RuntimeException( e.toString() ); } catch (SAXException e) { } }
/** * open a a new Window with the given name and relative URL * @param name - the name of the window * @param relativeUrl - the relative URL to be used * @return the WebResponse as a DomWindowProxy */ public DomWindowProxy openNewWindow( String name, String relativeUrl ) throws IOException, SAXException { if (relativeUrl == null || relativeUrl.trim().length() == 0) relativeUrl = "about:"; GetMethodWebRequest request = new GetMethodWebRequest( getURL(), relativeUrl, _frame, name ); WebResponse response=_window.getResponse( request ); return response; }
/** * open a a new Window with the given name and relative URL * @param name - the name of the window * @param relativeUrl - the relative URL to be used * @return the WebResponse as a DomWindowProxy */ public DomWindowProxy openNewWindow( String name, String relativeUrl ) throws IOException, SAXException { if (relativeUrl == null || relativeUrl.trim().length() == 0) relativeUrl = "about:"; GetMethodWebRequest request = new GetMethodWebRequest( getURL(), relativeUrl, _frame, name ); WebResponse response=_window.getResponse( request ); return response; }
/** * open a a new Window with the given name and relative URL * @param name - the name of the window * @param relativeUrl - the relative URL to be used * @return the WebResponse as a DomWindowProxy */ public DomWindowProxy openNewWindow( String name, String relativeUrl ) throws IOException, SAXException { if (relativeUrl == null || relativeUrl.trim().length() == 0) relativeUrl = "about:"; GetMethodWebRequest request = new GetMethodWebRequest( getURL(), relativeUrl, _frame, name ); WebResponse response=_window.getResponse( request ); return response; }
public void setLocation( String relativeURL ) throws IOException, SAXException { getWindow().getResponse( new GetMethodWebRequest( _pageURL, relativeURL, _frame.getName() ) ); }
public void setLocation( String relativeURL ) throws IOException, SAXException { getWindow().getResponse( new GetMethodWebRequest( _pageURL, relativeURL, _frame.getName() ) ); }