Interface ISegment

All Superinterfaces:
IComponent, IInitializable, IView, Serializable

@Deprecated public interface ISegment extends IComponent, IView
Deprecated.
This API is for backward compatibility. There is always one segment in MWS cluster configuration.
  • Field Details

  • Method Details

    • getFrontEndUrl

      String getFrontEndUrl()
      Deprecated.
      Returns fully qualified front end url for the segment
      Returns:
      front end url
    • getFrontEndUrlServer

      String getFrontEndUrlServer()
      Deprecated.
      Returns the url to the front end server. For example, if the full front end url is 'http://host:8080/foo/bar', the url to the server is 'http://host:8080'.
    • getFrontEndUrlPath

      String getFrontEndUrlPath()
      Deprecated.
      Returns the path part of the front end url. For example, if the full front end url is 'http://host:8080/foo/bar', the path part is '/foo/bar'.
    • getFrontEndContextSegment

      String getFrontEndContextSegment()
      Deprecated.
      Returns the context segment of the front end url. For example, if the full front end url is 'http://host:8080/foo/bar', the context part is 'foo' For example, if the full front end url is 'http://host:8080/foo', the context part is '' For example, if the full front end url is 'http://host:8080', the context part is ''
    • getFrontEndNamespaceSegment

      String getFrontEndNamespaceSegment()
      Deprecated.
      Returns the namespace segment of the front end url. For example, if the full front end url is 'http://host:8080/foo/bar', the context part is 'bar' For example, if the full front end url is 'http://host:8080/foo', the context part is 'foo' For example, if the full front end url is 'http://host:8080', the context part is ''
    • hasRole

      boolean hasRole(String role)
      Deprecated.
      Returns true if the segment has the given role
    • getRoles

      Deprecated.
    • getWebServerUrl

      @Deprecated String getWebServerUrl()
      Deprecated.
      Returns fully qualified web server url
      Returns:
      web server url
    • getWebServerUrlServer

      @Deprecated String getWebServerUrlServer()
      Deprecated.
      Returns the url to the web server. For example, if the full web server url is 'http://host:8080/foo/bar', the url to the server is 'http://host:8080'.
    • getWebServerUrlPath

      @Deprecated String getWebServerUrlPath()
      Deprecated.
      Returns the path part of the web server url. For example, if the full web server url is 'http://host:8080/foo/bar', the path part is '/foo/bar'.
    • getCookieDomain

      @Deprecated String getCookieDomain()
      Deprecated.
      Returns cookies domain for this segment
      Returns:
      cookie domain
    • getServers

      Deprecated.
    • getServer

      @Deprecated IServer getServer(String name)
      Deprecated.
    • isCoreSegment

      @Deprecated boolean isCoreSegment()
      Deprecated.
      Always returns false
      Returns: