Examples of handle()


Examples of org.eclipse.jetty.server.Handler.handle()

                            baseRequest.setHandled(true);
                            return;
                        }
                    }

                    handler.handle(pathInContext, baseRequest, request, response);
                    if (authenticator!=null)
                        authenticator.secureResponse(request, response, isAuthMandatory, userAuth);
                }
                else if (authentication instanceof Authentication.Deferred)
                {
View Full Code Here

Examples of org.eclipse.jetty.server.handler.ContextHandler.handle()

        cancelTimeout();
        if (handle)
        {
            ContextHandler handler=getContextHandler();
            if (handler!=null)
                handler.handle(_channel);
            else
                _channel.handle();
        }
    }
View Full Code Here

Examples of org.eclipse.jetty.server.handler.ErrorHandler.handle()

            {
                request.setAttribute(RequestDispatcher.ERROR_STATUS_CODE,new Integer(code));
                request.setAttribute(RequestDispatcher.ERROR_MESSAGE, message);
                request.setAttribute(RequestDispatcher.ERROR_REQUEST_URI, request.getRequestURI());
                request.setAttribute(RequestDispatcher.ERROR_SERVLET_NAME,request.getServletName());
                error_handler.handle(null,_channel.getRequest(),_channel.getRequest(),this );
            }
            else
            {
                setHeader(HttpHeader.CACHE_CONTROL, "must-revalidate,no-cache,no-store");
                setContentType(MimeTypes.Type.TEXT_HTML_8859_1.toString());
View Full Code Here

Examples of org.eclipse.php.debug.core.debugger.handlers.IDebugMessageHandler.handle()

                                .replaceFirst(
                                    ".*\\.", //$NON-NLS-1$
                                    "")); //$NON-NLS-1$
                  }
                  // handle the request
                  messageHandler.handle(newInputMessage,
                      debugTarget);

                  if (messageHandler instanceof IDebugRequestHandler) {
                    // create response
                    IDebugResponseMessage response = ((IDebugRequestHandler) messageHandler)
View Full Code Here

Examples of org.eclipse.sapphire.Listener.handle()

        );
       
        final ContentOutlineActionSupport actionSupport = new ContentOutlineActionSupport( outline, tree );
       
        treeViewer.setExpandedElements( outline.getExpandedNodes().toArray() );
        contentTreeListener.handle( new MasterDetailsContentOutline.SelectionChangedEvent( outline.getSelectedNodes() ) );
       
        filteredTree.changeFilterText( outline.getFilterText() );
       
        final ElementsTransfer transfer = new ElementsTransfer( getModelElement().type().getModelElementClass().getClassLoader() );
        final Transfer[] transfers = new Transfer[] { transfer };
View Full Code Here

Examples of org.eclipse.ui.statushandlers.StatusManager.handle()

  int style = StatusManager.LOG;

  if (status.getSeverity() == IStatus.ERROR) {
      style = StatusManager.LOG | StatusManager.SHOW | StatusManager.BLOCK;
      StatusManager stMan = StatusManager.getManager();
      stMan.handle(status, style);
  } else {
      Activator.getDefault().getLog().log(status);
  }

    }
View Full Code Here

Examples of org.exoplatform.portal.portlet.PortletExceptionHandleService.handle()

            }

            //
            PortletExceptionHandleService portletExceptionService = getApplicationComponent(PortletExceptionHandleService.class);
            if (portletExceptionService != null) {
                portletExceptionService.handle(pcException);
            }

            // Log the error
            log.error("Portlet render threw an exception", pcException);
View Full Code Here

Examples of org.exoplatform.services.remote.group.MessageHandler.handle()

      if (handler != null)
      {
         try
         {
            monitor.addMessageCounter(1);
            return handler.handle(message);
         }
         catch (Exception ex)
         {
            monitor.setLastError(ex);
            LOG.error("Error :", ex);
View Full Code Here

Examples of org.g4studio.core.resource.ResourceHandler.handle()

        if ( handler == null ){
          logger.warn("没有找到名为:" + handerName + "的资源处理器");
          continue;
        }
        try{       
            handler.handle(res);
        }catch(Exception ex){
          logger.warn("对资源:" + pUri + "进行:" + handerName + " 处理时出现异常!", ex );
          continue;
        }
      }
View Full Code Here

Examples of org.gatein.wsrp.wss.cxf.consumer.CurrentUserPasswordCallback.handle()

   {

      //First check if we have any user name token call backs to add.
      //NOTE: only needed if using username tokens, and you want the currently authenticated users password added
      CurrentUserPasswordCallback currentUserPasswordCallback = new CurrentUserPasswordCallback();
      currentUserPasswordCallback.handle(callbacks);

      for (Callback callback : callbacks)
      {
         if (callback instanceof WSPasswordCallback)
         {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.