Examples of handleResponse()


Examples of org.dmd.dmp.server.servlet.base.interfaces.DmpResponseHandlerIF.handleResponse()

                return;
            }
            responseHandler = ri.responseHandler;
            if (ri.responseHandler == ri.firstResponseHandler) ri.responseHandler = ri.asyncResponseHandler;
        }
        responseHandler.handleResponse(ri.req, resp);
    }


   
   
View Full Code Here

Examples of org.fcrepo.server.security.xacml.pep.ws.operations.OperationHandler.handleResponse()

        // response pathway
        Boolean outboundProperty =
                (Boolean) context.get(MessageContext.MESSAGE_OUTBOUND_PROPERTY);
        try {
            if (outboundProperty) {
                reqCtx = operationHandler.handleResponse(context);
            } else {
                reqCtx = operationHandler.handleRequest(context);
            }
        } catch (OperationHandlerException ohe) {
            logger.error("Error handling operation: " + operation, ohe);
View Full Code Here

Examples of org.jboss.ws.core.jaxrpc.handler.HandlerChainBaseImpl.handleResponse()

      HandlerChainBaseImpl handlerChain = (HandlerChainBaseImpl)jaxrpcService.getHandlerChain(portName);

      boolean status = true;
      if (handlerChain != null)
      {
         status = handlerChain.handleResponse(msgContext, type);
      }
      return status;
   }

   @Override
View Full Code Here

Examples of org.jboss.ws.core.jaxrpc.handler.HandlerChainBaseImpl.handleResponse()

      HandlerChainBaseImpl handlerChain = (HandlerChainBaseImpl)jaxrpcService.getHandlerChain(portName);

      boolean status = true;
      if (handlerChain != null)
      {
         status = handlerChain.handleResponse(msgContext, type);
      }
      return status;
   }

   @Override
View Full Code Here

Examples of org.openhab.binding.zwave.internal.protocol.serialmessage.ZWaveCommandProcessor.handleResponse()

  private void handleIncomingResponseMessage(SerialMessage incomingMessage) {
    logger.trace("Message type = RESPONSE");

    ZWaveCommandProcessor processor = ZWaveCommandProcessor.getMessageDispatcher(incomingMessage.getMessageClass());
    if(processor != null) {
      processor.handleResponse(this, lastSentMessage, incomingMessage);

      if(processor.isTransactionComplete()) {
        notifyEventListeners(new ZWaveTransactionCompletedEvent(this.lastSentMessage));
        transactionCompleted.release();
        logger.trace("Released. Transaction completed permit count -> {}", transactionCompleted.availablePermits());
View Full Code Here

Examples of org.springframework.ws.client.support.interceptor.ClientInterceptor.handleResponse()

        ClientInterceptor interceptorMock1 = createStrictMock("interceptor1", ClientInterceptor.class);
        ClientInterceptor interceptorMock2 = createStrictMock("interceptor2", ClientInterceptor.class);
        template.setInterceptors(new ClientInterceptor[]{interceptorMock1, interceptorMock2});
        expect(interceptorMock1.handleRequest(isA(MessageContext.class))).andReturn(true);
        expect(interceptorMock2.handleRequest(isA(MessageContext.class))).andReturn(true);
        expect(interceptorMock2.handleResponse(isA(MessageContext.class))).andReturn(true);
        expect(interceptorMock1.handleResponse(isA(MessageContext.class))).andReturn(true);
        interceptorMock2.afterCompletion(isA(MessageContext.class), (Exception)isNull());
        interceptorMock1.afterCompletion(isA(MessageContext.class), (Exception)isNull());

        WebServiceMessageCallback requestCallback = createMock(WebServiceMessageCallback.class);
View Full Code Here

Examples of org.springframework.ws.server.EndpointInterceptor.handleResponse()

        interceptor.handleRequest(messageContext, null);
        assertValidateUsernameToken(message);

        // test clean up
        messageContext.getResponse();
        interceptor.handleResponse(messageContext, null);
        interceptor.afterCompletion(messageContext, null, null);
        assertNull("Authentication created", SecurityContextHolder.getContext().getAuthentication());
    }

    @Test
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.