S
- The service API hosted by the intercepted service provider.public interface ConnectInterceptor<S>
Modifier and Type | Method and Description |
---|---|
void |
postConnect(Connection<S> connection,
WebRequest request)
Called immediately after the connection is established.
|
void |
preConnect(ConnectionFactory<S> connectionFactory,
MultiValueMap<String,String> parameters,
WebRequest request)
Called during connection initiation, immediately before user authorization.
|
void preConnect(ConnectionFactory<S> connectionFactory, MultiValueMap<String,String> parameters, WebRequest request)
connectionFactory
- the connection factory in play for this connectionparameters
- parameters being sent to the provider during authorizationrequest
- the requestvoid postConnect(Connection<S> connection, WebRequest request)
connection
- the connection that was just establishedrequest
- the request