Class AsyncProviderInvokerTube.AsyncProviderCallbackImpl

    • Constructor Detail

      • AsyncProviderCallbackImpl

        public AsyncProviderCallbackImpl​(Packet request,
                                         com.sun.xml.ws.server.provider.AsyncProviderInvokerTube.Resumer resumer)
    • Method Detail

      • send

        public void send​(@Nullable
                         T param)
        Description copied from interface: AsyncProviderCallback
        Indicates that a request was processed successfully.
        Specified by:
        send in interface AsyncProviderCallback<T>
        Parameters:
        param - Represents an object to be sent back to the client as a response. To indicate one-way, response needs to be null
      • sendError

        public void sendError​(@NotNull
                              Throwable t)
        Description copied from interface: AsyncProviderCallback
        Indicates that an error had occured while processing a request.
        Specified by:
        sendError in interface AsyncProviderCallback<T>
        Parameters:
        t - The error is propagated to the client. For example, if this is a SOAP-based web service, the server will send back a SOAP fault.