Class AbstractHttpApplication

  • All Implemented Interfaces:
    Application

    public abstract class AbstractHttpApplication
    extends java.lang.Object
    implements Application
    Partial Application implementation for web containers.
    Author:
    Kohsuke Kawaguchi
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected DeployedService service  
      protected java.net.URL warURL
      URL to access this web application.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.net.URI getEndpointAddress​(TestEndpoint endpoint)
      Returns the actual endpoint address to which the given TestEndpoint is deployed.
      java.util.List<java.net.URL> getWSDL()
      When deployed to HTTP service, WSDL URL can be obtained by "?wsdl".
      • Methods inherited from class java.lang.Object

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

      • warURL

        protected final java.net.URL warURL
        URL to access this web application.
    • Constructor Detail

      • AbstractHttpApplication

        protected AbstractHttpApplication​(java.net.URL warURL,
                                          DeployedService service)
    • Method Detail

      • getEndpointAddress

        @NotNull
        public java.net.URI getEndpointAddress​(@NotNull
                                               TestEndpoint endpoint)
                                        throws java.lang.Exception
        Description copied from interface: Application
        Returns the actual endpoint address to which the given TestEndpoint is deployed.
        Specified by:
        getEndpointAddress in interface Application
        Throws:
        java.lang.Exception
      • getWSDL

        @NotNull
        public java.util.List<java.net.URL> getWSDL()
                                             throws java.lang.Exception
        When deployed to HTTP service, WSDL URL can be obtained by "?wsdl".
        Specified by:
        getWSDL in interface Application
        Throws:
        java.lang.Exception