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 TypeMethodDescriptionvoidIf both the request and response were successful, this is called after the connection to the server is released.voidReads the response from the server if the request was successfully sent.voidWrites 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:
IOExceptionSQLException
-
afterRelease
void afterRelease()If both the request and response were successful, this is called after the connection to the server is released.
-
