Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.struts2.dispatcher.ng.servlet
Class ServletHostConfig

    java.lang.Object
      org.apache.struts2.dispatcher.ng.servlet.ServletHostConfig

All Implemented Interfaces:
  HostConfig

    public class ServletHostConfig

extends Object
implements HostConfig

Host configuration that wraps a ServletConfig

Constructor Summary
`ServletHostConfig(javax.servlet.ServletConfig config)`

Method Summary
`String` | `getInitParameter(String key)`
`Iterator<String>` | `getInitParameterNames()`
`javax.servlet.ServletContext` | `getServletContext()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ServletHostConfig

    public ServletHostConfig(javax.servlet.ServletConfig config)

Method Detail

### getInitParameter

    public String getInitParameter(String key)

  Specified by:
    `getInitParameter` in interface `HostConfig`
  Parameters:
    `key` - The parameter key
  Returns:
    The parameter value

### getInitParameterNames

    public Iterator<String> getInitParameterNames()

  Specified by:
    `getInitParameterNames` in interface `HostConfig`
  Returns:
    A list of parameter names

### getServletContext

    public javax.servlet.ServletContext getServletContext()

  Specified by:
    `getServletContext` in interface `HostConfig`
  Returns:
    The servlet context

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000–2018 Apache Software Foundation. All rights reserved.