com.sun.xml.ws.transport.http.servlet
Class ServletModule

java.lang.Object
  extended by com.sun.xml.ws.api.server.Module
      extended by com.sun.xml.ws.api.server.WebModule
          extended by com.sun.xml.ws.transport.http.servlet.ServletModule

public abstract class ServletModule
extends WebModule

WebModule that is a servlet container.

See Also:
WebModule, Module

Constructor Summary
ServletModule()
           
 
Method Summary
 String getContextPath(javax.servlet.http.HttpServletRequest req)
          Gets the host, port, and context path portion of this module using HttpServletRequest
 
Methods inherited from class com.sun.xml.ws.api.server.WebModule
getContextPath
 
Methods inherited from class com.sun.xml.ws.api.server.Module
getBoundEndpoints
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletModule

public ServletModule()
Method Detail

getContextPath

@NotNull
public String getContextPath(javax.servlet.http.HttpServletRequest req)
Gets the host, port, and context path portion of this module using HttpServletRequest

This method follows the convention of the HttpServletRequest.getContextPath(), and accepts strings like "http://myhost" (for web applications that are deployed to the root context path), or "http://myhost/foobar" (for web applications that are deployed to context path "/foobar") TODO should we generify WebModule so that we could use TODO WebModule ??