Class WebServiceContextImpl

java.lang.Object
org.apache.cxf.jaxws.context.WebServiceContextImpl
All Implemented Interfaces:
jakarta.xml.ws.WebServiceContext

public class WebServiceContextImpl extends Object implements jakarta.xml.ws.WebServiceContext
  • Constructor Details

    • WebServiceContextImpl

      public WebServiceContextImpl()
    • WebServiceContextImpl

      public WebServiceContextImpl(jakarta.xml.ws.handler.MessageContext c)
  • Method Details

    • getMessageContext

      public final jakarta.xml.ws.handler.MessageContext getMessageContext()
      Specified by:
      getMessageContext in interface jakarta.xml.ws.WebServiceContext
    • getUserPrincipal

      public final Principal getUserPrincipal()
      Specified by:
      getUserPrincipal in interface jakarta.xml.ws.WebServiceContext
    • isUserInRole

      public final boolean isUserInRole(String role)
      Specified by:
      isUserInRole in interface jakarta.xml.ws.WebServiceContext
    • getEndpointReference

      public jakarta.xml.ws.EndpointReference getEndpointReference(Element... referenceParameters)
      Specified by:
      getEndpointReference in interface jakarta.xml.ws.WebServiceContext
    • getEndpointReference

      public <T extends jakarta.xml.ws.EndpointReference> T getEndpointReference(Class<T> clazz, Element... referenceParameters)
      Specified by:
      getEndpointReference in interface jakarta.xml.ws.WebServiceContext
    • setMessageContext

      public static jakarta.xml.ws.handler.MessageContext setMessageContext(jakarta.xml.ws.handler.MessageContext ctx)
      Sets reference to the specified MessageContext and returns the previous reference, if any.
      Parameters:
      ctx - The MessageContext to set
      Returns:
      The former MessageContext reference, if any.
    • clear

      public static void clear()