Package com.dilanperera.rapidws.handlers.operation

Examples of com.dilanperera.rapidws.handlers.operation.OperationHandler


                // extract the SOAP Action from Content Header Data
                this.extractSOAPActionFromContentHeaderData(messageContext);
            }

            // get the operation handler
            OperationHandler operationHandler = this.getOperationHandler(messageContext);

          // get timestamp - start parsing
          long startParseTimestamp = System.nanoTime();

          // process the message, using the operation handler
            this.processMessage(messageContext, operationHandler);

          // get timestamp - end parsing
          long endParseTimestamp = System.nanoTime();

          // make performance log entry
          PerformanceLogger.Log(
              messageContext.getServiceName() + RapidWSMessageProcessor.SERVICE_OPERATION_SEPARATOR +
                  messageContext.getOperationName(),
              operationHandler.getClass().getName(),
              startParseTimestamp,
              endParseTimestamp);

          // NOTE: output of text removed from here, as content-type header needs to be sent first
          // however, the servlet has no way of knowing this, so it cannot set the header in advance.
View Full Code Here


     * @throws UnavailableServiceException when a requested service is unavailable.
     */
    protected OperationHandler getOperationHandler(MessageContext messageContext)
            throws UnavailableServiceException
    {
        OperationHandler operationHandler = null;

        // get service mapping
        ServiceDataMap serviceDataMap = ServiceConfiguration.getServiceDataMap();

        // get the service and operation name
View Full Code Here

TOP

Related Classes of com.dilanperera.rapidws.handlers.operation.OperationHandler

Copyright © 2018 www.massapicom. 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.