Package org.apache.struts2.factory

# Interface UnknownHandlerFactory

All Known Implementing Classes:
  `DefaultUnknownHandlerFactory`

public interface UnknownHandlerFactory
Dedicated interface used by `ObjectFactory` to build `UnknownHandler`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `UnknownHandler`
  `buildUnknownHandler(String unknownHandlerName, Map<String,Object> extraContext)`
  Builds unknown handler of given name

- ## Method Details

  - ### buildUnknownHandler

    UnknownHandler buildUnknownHandler(String unknownHandlerName, Map<String,Object> extraContext) throws Exception
    Builds unknown handler of given name
    Parameters:
      `unknownHandlerName` - name of unknown handler defined in struts.xml
      `extraContext` - extra params
    Returns:
      instance of `UnknownHandler` with injected dependencies
    Throws:
      `Exception` - in case of any errors