Class TestEndpoint


  • public class TestEndpoint
    extends java.lang.Object
    Endpoint exposed from TestService.
    Author:
    Kohsuke Kawaguchi
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String className
      Name of the class that implements this endpoint.
      boolean isProvider
      If this class is WebServiceProvider and not WebService.
      java.lang.String name
      Name of the endpoint.
      java.lang.String portName
      Encoded port name "{uri}local".
      java.lang.String urlPattern
      URL pattern like "/foo" where this service is bound.
    • Constructor Summary

      Constructors 
      Constructor Description
      TestEndpoint​(java.lang.String name, java.lang.String className, java.lang.String portName, boolean isProvider)  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • name

        @NotNull
        public final java.lang.String name
        Name of the endpoint. The name must be:
        1. Unique within TestService
        2. a valid Java identifier.

        This value is used to infer the port QName, the proxy object variable name to be injected, etc.

        The endpoint will be deployed to "/[name]" URL.

      • className

        @NotNull
        public final java.lang.String className
        Name of the class that implements this endpoint.
      • portName

        @Nullable
        public final java.lang.String portName
        Encoded port name "{uri}local". This value is obtained from the @WebService/Provider class, and may not be always available.
      • urlPattern

        @NotNull
        public java.lang.String urlPattern
        URL pattern like "/foo" where this service is bound.
      • isProvider

        public final boolean isProvider
        If this class is WebServiceProvider and not WebService.
    • Constructor Detail

      • TestEndpoint

        public TestEndpoint​(java.lang.String name,
                            java.lang.String className,
                            java.lang.String portName,
                            boolean isProvider)