Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 



org.eclipse.wst.server.core.model
Interface IURLProvider


public interface IURLProvider

An interface for a server delegate that can provide URLs for a module published to the server.

Since:
1.0

Method Summary
 java.net.URL getModuleRootURL ( IModule module)
          Return the base URL of this module on the server.
 

Method Detail

getModuleRootURL

java.net.URL getModuleRootURL(
IModule module)
Return the base URL of this module on the server. (e.g. "https://localhost:8080/myProject")

This method may return null if this server does not have a valid configuration or if the server is not running. The returned URL must not end in a trailing slash.

If the module is null, the returned URL will just be to the root of the server (e.g. "https://localhost:8080")

If the module is not already added to the server, the method will return as close an approximation as possible. (for instance, for a J2EE web project it may use the project's context root, which may not be the same when deployed to a server)

Parameters:
module - com.ibm.etools.server.core.IModule
Returns:
java.net.URL



 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire