Interface WSWebServiceContext

  • All Superinterfaces:
    jakarta.xml.ws.WebServiceContext
    All Known Implementing Classes:
    AbstractWebServiceContext, AsyncProviderInvokerTube.AsyncWebServiceContext

    public interface WSWebServiceContext
    extends jakarta.xml.ws.WebServiceContext
    WebServiceContext that exposes JAX-WS RI specific additions.

    WebServiceContext instances that JAX-WS injects always implement this interface.

    The JAX-WS RI may add methods on this interface, so do not implement this interface in your code, or risk LinkageError.

    Author:
    Kohsuke Kawaguchi
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Packet getRequestPacket()
      Obtains the request packet that is being processed.
      • Methods inherited from interface jakarta.xml.ws.WebServiceContext

        getEndpointReference, getEndpointReference, getMessageContext, getUserPrincipal, isUserInRole
    • Method Detail

      • getRequestPacket

        @Nullable
        Packet getRequestPacket()
        Obtains the request packet that is being processed.
        Returns:
        Packet for the request