Package com.aoindustries.aoserv.client
Interface AoservConnector.UpdateRequest
- All Known Implementing Classes:
AoservConnector.UpdateRequestInvalidating
- Enclosing class:
AoservConnector
public static interface AoservConnector.UpdateRequest
This is the preferred mechanism for providing custom requests.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
If both the request and response were successful, this is called after the connection to the server is released.void
Reads the response from the server if the request was successfully sent.void
Writes the request to the server.
-
Method Details
-
writeRequest
Writes the request to the server. This does not need to flush the output stream.- Throws:
IOException
-
readResponse
Reads the response from the server if the request was successfully sent.- Throws:
IOException
SQLException
-
afterRelease
void afterRelease()If both the request and response were successful, this is called after the connection to the server is released.
-