Class TCPConnectionImpl

  • All Implemented Interfaces:
    com.sun.xml.ws.api.server.WebServiceContextDelegate

    public class TCPConnectionImpl
    extends Object
    implements com.sun.xml.ws.api.server.WebServiceContextDelegate
    Author:
    Alexey Stashok
    • Constructor Detail

      • TCPConnectionImpl

        public TCPConnectionImpl​(ChannelContext channelContext)
    • Method Detail

      • getStatus

        public int getStatus()
      • setStatus

        public void setStatus​(int statusCode)
      • getContentType

        public String getContentType()
      • setContentType

        public void setContentType​(String contentType)
      • close

        public void close()
      • getUserPrincipal

        public Principal getUserPrincipal​(com.sun.xml.ws.api.message.Packet request)
        Specified by:
        getUserPrincipal in interface com.sun.xml.ws.api.server.WebServiceContextDelegate
      • isUserInRole

        public boolean isUserInRole​(com.sun.xml.ws.api.message.Packet request,
                                    String role)
        Specified by:
        isUserInRole in interface com.sun.xml.ws.api.server.WebServiceContextDelegate
      • getEPRAddress

        @NotNull
        public String getEPRAddress​(@NotNull
                                    com.sun.xml.ws.api.message.Packet request,
                                    @NotNull
                                    com.sun.xml.ws.api.server.WSEndpoint endpoint)
        Specified by:
        getEPRAddress in interface com.sun.xml.ws.api.server.WebServiceContextDelegate
      • getWSDLAddress

        public String getWSDLAddress​(@NotNull
                                     com.sun.xml.ws.api.message.Packet request,
                                     @NotNull
                                     com.sun.xml.ws.api.server.WSEndpoint endpoint)
        Specified by:
        getWSDLAddress in interface com.sun.xml.ws.api.server.WebServiceContextDelegate