Package org.apache.struts2.dispatcher

# Interface HostConfig

All Known Implementing Classes:
  `FilterHostConfig`, `ListenerHostConfig`, `ServletHostConfig`

public interface HostConfig
Abstraction for host configuration information such as init params or the servlet context.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getInitParameter(String key)`
  `Iterator<String>`
  `getInitParameterNames()`
  `jakarta.servlet.ServletContext`
  `getServletContext()`

- ## Method Details

  - ### getInitParameter

    String getInitParameter(String key)
    Parameters:
      `key` - The parameter key
    Returns:
      The parameter value

  - ### getInitParameterNames

    Iterator<String> getInitParameterNames()
    Returns:
      A list of parameter names

  - ### getServletContext

    jakarta.servlet.ServletContext getServletContext()
    Returns:
      The servlet context