All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pl.bristleback.server.bristle.exceptions.handlers.MissingRightsErrorHandler Maven / Gradle / Ivy

package pl.bristleback.server.bristle.exceptions.handlers;

import org.jwebsocket.api.WebSocketConnector;

import java.util.Set;

/**
 * This interface should be implemented by action classes,
 * when missing user rights should be handled by a server in some special way,
 * for example user can be informed about error occurred.
 * 

* Created on: 2010-11-08 10:01:56
* * @author Wojciech Niemiec */ public interface MissingRightsErrorHandler { /** * Handles missing connector rights error. If necessary, method can check which rights are missing. * * @param requiredRights rights required by action class implementing this interface. * @param connector websocket connector. */ void handleMissingRightsError(Set requiredRights, WebSocketConnector connector); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy