/** * * Removes the specified {@link HttpHandler}. * * @return <tt>true</tt>, if the operation was successful, otherwise * <tt>false</tt> */ public synchronized boolean removeHttpHandler(final HttpHandler httpHandler) { synchronized (handlersSync) { final boolean result = handlers.remove(httpHandler) != null; if (result) { orderedHandlers.remove(httpHandler); instance.onRemoveHttpHandler(httpHandler); } return result; } }
/** * * Removes the specified {@link HttpHandler}. * * @return <tt>true</tt>, if the operation was successful, otherwise * <tt>false</tt> */ public synchronized boolean removeHttpHandler(final HttpHandler httpHandler) { synchronized (handlersSync) { final boolean result = handlers.remove(httpHandler) != null; if (result) { orderedHandlers.remove(httpHandler); instance.onRemoveHttpHandler(httpHandler); } return result; } }
/** * * Removes the specified {@link HttpHandler}. * * @return <tt>true</tt>, if the operation was successful, otherwise * <tt>false</tt> */ public synchronized boolean removeHttpHandler(final HttpHandler httpHandler) { synchronized (handlersSync) { final boolean result = handlers.remove(httpHandler) != null; if (result) { orderedHandlers.remove(httpHandler); instance.onRemoveHttpHandler(httpHandler); } return result; } }
/** * * Removes the specified {@link HttpHandler}. * * @return <tt>true</tt>, if the operation was successful, otherwise * <tt>false</tt> */ public synchronized boolean removeHttpHandler(final HttpHandler httpHandler) { synchronized (handlersSync) { final boolean result = handlers.remove(httpHandler) != null; if (result) { orderedHandlers.remove(httpHandler); instance.onRemoveHttpHandler(httpHandler); } return result; } }
/** * * Removes the specified {@link HttpHandler}. * * @return <tt>true</tt>, if the operation was successful, otherwise * <tt>false</tt> */ public synchronized boolean removeHttpHandler(final HttpHandler httpHandler) { synchronized (handlersSync) { final boolean result = handlers.remove(httpHandler) != null; if (result) { orderedHandlers.remove(httpHandler); instance.onRemoveHttpHandler(httpHandler); } return result; } }
/** * * Removes the specified {@link HttpHandler}. * * @return <tt>true</tt>, if the operation was successful, otherwise * <tt>false</tt> */ public synchronized boolean removeHttpHandler(final HttpHandler httpHandler) { synchronized (handlersSync) { final boolean result = handlers.remove(httpHandler) != null; if (result) { orderedHandlers.remove(httpHandler); instance.onRemoveHttpHandler(httpHandler); } return result; } }
/** * * Removes the specified {@link HttpHandler}. * * @return <tt>true</tt>, if the operation was successful, otherwise * <tt>false</tt> */ public synchronized boolean removeHttpHandler(final HttpHandler httpHandler) { synchronized (handlersSync) { final boolean result = handlers.remove(httpHandler) != null; if (result) { orderedHandlers.remove(httpHandler); instance.onRemoveHttpHandler(httpHandler); } return result; } }
/** * * Removes the specified {@link HttpHandler}. * * @return <tt>true</tt>, if the operation was successful, otherwise * <tt>false</tt> */ public synchronized boolean removeHttpHandler(final HttpHandler httpHandler) { synchronized (handlersSync) { final boolean result = handlers.remove(httpHandler) != null; if (result) { orderedHandlers.remove(httpHandler); instance.onRemoveHttpHandler(httpHandler); } return result; } }
/** * * Removes the specified {@link HttpHandler}. * * @return <tt>true</tt>, if the operation was successful, otherwise * <tt>false</tt> */ public synchronized boolean removeHttpHandler(final HttpHandler httpHandler) { synchronized (handlersSync) { final boolean result = handlers.remove(httpHandler) != null; if (result) { orderedHandlers.remove(httpHandler); instance.onRemoveHttpHandler(httpHandler); } return result; } }
/** * * Removes the specified {@link HttpHandler}. * * @return <tt>true</tt>, if the operation was successful, otherwise * <tt>false</tt> */ public synchronized boolean removeHttpHandler(final HttpHandler httpHandler) { synchronized (handlersSync) { final boolean result = handlers.remove(httpHandler) != null; if (result) { orderedHandlers.remove(httpHandler); instance.onRemoveHttpHandler(httpHandler); } return result; } }
/** * * Removes the specified {@link HttpHandler}. * * @return <tt>true</tt>, if the operation was successful, otherwise * <tt>false</tt> */ public synchronized boolean removeHttpHandler(final HttpHandler httpHandler) { synchronized (handlersSync) { final boolean result = handlers.remove(httpHandler) != null; if (result) { orderedHandlers.remove(httpHandler); instance.onRemoveHttpHandler(httpHandler); } return result; } }