| java.lang.Object com.nabhinc.ws.server.HTTPWebServiceContext
HTTPWebServiceContext | public class HTTPWebServiceContext implements WebServiceContext(Code) | | Default implementation of WebServiceContext interface.
author: Padmanabh Dabke author: (c) 2005 Nabh Information Systems, Inc. All Rights Reserved. |
HTTPWebServiceContext | public HTTPWebServiceContext(String rootDir)(Code) | | |
getRealPath | public String getRealPath(String path)(Code) | | Delegates to the same method on servlet context.
|
getResourceAsStream | public InputStream getResourceAsStream(String path)(Code) | | Delegates to the same method on servlet context.
|
getSecureURL | public String getSecureURL()(Code) | | Returns secure (SSL) URL for the Web server. Useful in generating URLs
that point to services or portlets on this server.
|
getServerID | public String getServerID()(Code) | | Returns ID of the server this service is running on. Useful in a
clustered environment.
|
getUnsecureURL | public String getUnsecureURL()(Code) | | Returns unsecure URL for the Web server. Useful in generating URLs
that point to services or portlets on this server.
|
init | public void init(Element config, ServletConfig sConfig)(Code) | | Initializes this context based on XML configuration. It looks for
the following XML elements to populate it's state:
- secure-server-url - Secure URL for this server.
- unsecure-server-url - Unsercure URL for this server.
- server-id - Server ID (used in clustered environments)
- default-owner - User represented by this service when it makes
calls on other services.
Parameters: config - XML configuration Parameters: sConfig - Servlet configuration |
removeAttribute | public void removeAttribute(String name)(Code) | | |
|
|