+

Search Tips   |   Advanced Search

 PREV CLASS   NEXT CLASS
Tree 
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

com.ibm.portal.resolver.accessors.url
Interface PocServerContext

All Superinterfaces:
ServerContext
public interface PocServerContext
extends ServerContext

Extension of the ServerContext that exposes information specific to the content handler servlets.

Since:
8.0

Field Summary
static java.lang.Boolean EARLY_BINDING
          Identifies early binding
static java.lang.Boolean LATE_BINDING
          Identifies late binding
static java.lang.Boolean RESOLUTION_BINDING
          Identifies the portal binding
 
Method Summary
 java.lang.String getHomeProtected()
          Return the protected home directory of the default POC entry point.
 java.lang.String getHomeProtected(java.lang.Boolean bLateBinding)
          Return the protected home directory.
 java.lang.String getHomePublic()
          Return the public home directory of the default POC entry point.
 java.lang.String getHomePublic(java.lang.Boolean bLateBinding)
          Return the public home directory.
 
Methods inherited from interface com.ibm.portal.state.accessors.url.ServerContext
getContextPath, getHostName, getHostPortHTTP, getHostPortHTTPS, getURLCharset
 

Field Detail

EARLY_BINDING

static final java.lang.Boolean EARLY_BINDING
Identifies early binding

LATE_BINDING

static final java.lang.Boolean LATE_BINDING
Identifies late binding

RESOLUTION_BINDING

static final java.lang.Boolean RESOLUTION_BINDING
Identifies the portal binding

Method Detail

getHomeProtected

java.lang.String getHomeProtected()
Returns the protected home directory of the default POC entry point.

Specified by:
getHomeProtected in interface ServerContext
Returns:
proctected home directory including the starting slash (e.g. "/mypoc")

getHomeProtected

java.lang.String getHomeProtected(java.lang.Boolean bLateBinding)
Returns the protected home directory.

Parameters:
bLateBinding - If LATE_BINDING returns the context of the "/mypoc" entry point, if EARLY_BINDING the context of the "/mycontenthandler" entry point, if RESOLUTION_BINDING the context of the "/myportal" entry point.
Returns:
proctected home directory including the starting slash (e.g. "/myportal")

getHomePublic

java.lang.String getHomePublic()
Returns the public home directory of the default POC entry point.

Specified by:
getHomePublic in interface ServerContext
Returns:
public home directory including the starting slash (e.g. "/poc")

getHomePublic

java.lang.String getHomePublic(java.lang.Boolean bLateBinding)
Returns the public home directory.

Parameters:
bLateBinding - If LATE_BINDING returns the context of the "/poc" entry point, if EARLY_BINDING the context of the "/contenthandler" entry point, if RESOLUTION_BINDING the context of the "/portal" entry point.
Returns:
public home directory including the starting slash (e.g. "/portal")
 PREV CLASS   NEXT CLASS
Tree 
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD