Top Description Methods
javax.portlet.filter

public Interface FilterConfig

Imports
java.util.Enumeration, javax.portlet.PortletContext

A filter configuration object used by a portlet container to pass information to a filter during initialization.
Since
2.0

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the filter name
getFilterName
()

Returns the filter-name of this filter as defined in the portlet deployment descriptor.

public String

Returns:

initialization parameter, or null if the parameter does not exist.
getInitParameter
(String
the name of the initialization parameter to return
name
)

Returns a String containing the value of the named initialization parameter, or null if the parameter does not exist.

public Enumeration<String>

Returns:

the names of the filter's initialization parameters, or an empty Enumeration if the filter has no initialization parameters.
getInitParameterNames
()

Returns the names of the filter's initialization parameters as an Enumeration of String objects, or an empty Enumeration if the filter has no initialization parameters.

public PortletContext

Returns:

the portlet context
getPortletContext
()

Returns a reference to the PortletContext in which the caller is executing.

Method Detail

getFilterNameback to summary
public String getFilterName()

Returns the filter-name of this filter as defined in the portlet deployment descriptor.

Returns:String

the filter name

getInitParameterback to summary
public String getInitParameter(String name)

Returns a String containing the value of the named initialization parameter, or null if the parameter does not exist.

Initialization parameters are defined in the portlet deployment descriptor.

Parameters
name:String

the name of the initialization parameter to return

Returns:String

initialization parameter, or null if the parameter does not exist.

getInitParameterNamesback to summary
public Enumeration<String> getInitParameterNames()

Returns the names of the filter's initialization parameters as an Enumeration of String objects, or an empty Enumeration if the filter has no initialization parameters.

Initialization parameters are defined in the portlet deployment descriptor.

Returns:Enumeration<String>

the names of the filter's initialization parameters, or an empty Enumeration if the filter has no initialization parameters.

getPortletContextback to summary
public PortletContext getPortletContext()

Returns a reference to the PortletContext in which the caller is executing.

Returns:PortletContext

the portlet context