@FunctionalInterface
public interface ServiceRequestCustomizer
This can be used to modify service requests before they are sent to the server, for example to access features not currently supported by Jaybird.
If you implement this interface to access a feature not implemented by Jaybird, please consider creating an improvement ticket on the Jaybird GitHub repository as well.
ServiceManager.setServiceRequestCustomizer(ServiceRequestCustomizer)| Modifier and Type | Method and Description |
|---|---|
void |
customize(ServiceRequestBuffer serviceRequest,
ServiceRequestContext requestContext)
Provides access to, and allows customization of, a service request.
|
void customize(ServiceRequestBuffer serviceRequest, ServiceRequestContext requestContext)
Called by the service manager just before the request is sent to the server. Exceptions thrown by the customizer terminate the service request before it's sent to the server.
Incorrect use (e.g. adding wrong arguments or values, removing or replacing arguments, etc.) may result in errors on Firebird or in Jaybird.
serviceRequest - service request buffer populated by the service manager, to be modified by this customizerrequestContext - service request context informationCopyright © 2001-2026 Jaybird (Firebird JDBC) team. All rights reserved.