类 SimpleHttpServerJaxWsServiceExporter

    • 字段详细资料

      • logger

        protected final Log logger
        已过时。
    • 方法详细资料

      • setServer

        public void setServer​(com.sun.net.httpserver.HttpServer server)
        已过时。
        Specify an existing HTTP server to register the web service contexts with. This will typically be a server managed by the general Spring SimpleHttpServerFactoryBean.

        Alternatively, configure a local HTTP server through the "port", "hostname" and "backlog" properties (or rely on the defaults there).

      • setPort

        public void setPort​(int port)
        已过时。
        Specify the HTTP server's port. Default is 8080.

        Only applicable for a locally configured HTTP server. Ignored when the "server" property has been specified.

      • setHostname

        public void setHostname​(String hostname)
        已过时。
        Specify the HTTP server's hostname to bind to. Default is localhost; can be overridden with a specific network address to bind to.

        Only applicable for a locally configured HTTP server. Ignored when the "server" property has been specified.

      • setBacklog

        public void setBacklog​(int backlog)
        已过时。
        Specify the HTTP server's TCP backlog. Default is -1, indicating the system's default value.

        Only applicable for a locally configured HTTP server. Ignored when the "server" property has been specified.

      • setShutdownDelay

        public void setShutdownDelay​(int shutdownDelay)
        已过时。
        Specify the number of seconds to wait until HTTP exchanges have completed when shutting down the HTTP server. Default is 0.

        Only applicable for a locally configured HTTP server. Ignored when the "server" property has been specified.

      • setBasePath

        public void setBasePath​(String basePath)
        已过时。
        Set the base path for context publication. Default is "/".

        For each context publication path, the service name will be appended to this base address. E.g. service name "OrderService" -> "/OrderService".

        另请参阅:
        Endpoint.publish(Object), WebService.serviceName()
      • setFilters

        public void setFilters​(List<com.sun.net.httpserver.Filter> filters)
        已过时。
        Register common Filters to be applied to all detected WebService annotated beans.
      • setAuthenticator

        public void setAuthenticator​(com.sun.net.httpserver.Authenticator authenticator)
        已过时。
        Register a common Authenticator to be applied to all detected WebService annotated beans.
      • buildHttpContext

        protected com.sun.net.httpserver.HttpContext buildHttpContext​(Endpoint endpoint,
                                                                      String serviceName)
        已过时。
        Build the HttpContext for the given endpoint.
        参数:
        endpoint - the JAX-WS Provider Endpoint object
        serviceName - the given service name
        返回:
        the fully populated HttpContext
      • calculateEndpointPath

        protected String calculateEndpointPath​(Endpoint endpoint,
                                               String serviceName)
        已过时。
        Calculate the full endpoint path for the given endpoint.
        参数:
        endpoint - the JAX-WS Provider Endpoint object
        serviceName - the given service name
        返回:
        the full endpoint path