|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.ws.api.server.Module
com.sun.xml.ws.api.server.WebModule
public abstract class WebModule
Module that is an HTTP container.
| Constructor Summary | |
|---|---|
WebModule()
|
|
| Method Summary | |
|---|---|
abstract String |
getContextPath()
Gets the host, port, and context path portion of this module. |
| Methods inherited from class com.sun.xml.ws.api.server.Module |
|---|
getBoundEndpoints, getSPI |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WebModule()
| Method Detail |
|---|
@NotNull public abstract String getContextPath()
For example, if this is an web appliation running in a servlet container "http://myhost/myapp", then this method should return this URI.
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")
Notice that this method involves in determining the machine name without relying on HTTP "Host" header.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||