public interface ClientRegistration
| Modifier and Type | Method and Description |
|---|---|
void |
addClient(Client client,
boolean failIfPresent)
Add a new client.
|
void |
removeClient(String clientId)
Removes a registered client.
|
void addClient(Client client, boolean failIfPresent) throws ClientAlreadyExistsException
client - failIfPresent - ClientAlreadyExistsException - if failIfPresent is set to true and a client with the same clientId
is in the storevoid removeClient(String clientId) throws NoSuchClientException
clientId - The client Id.NoSuchClientException - If client does not exist a NoSuchClientException
is thrown.Copyright © 2019 MuleSoft, Inc.. All rights reserved.