public interface WebConnection extends AutoCloseable
Modifier and Type | Method and Description |
---|---|
void |
close() |
WebResponse |
getResponse(WebRequest request)
Submits a request and retrieves a response.
|
WebResponse getResponse(WebRequest request) throws IOException
request
- the requestIOException
- if an IO error occursvoid close() throws IOException
close
in interface AutoCloseable
IOException
Copyright © 2002–2024 Gargoyle Software Inc.. All rights reserved.