Class HandlerMapping

java.lang.Object
com.microsoft.azure.management.appservice.HandlerMapping

public class HandlerMapping extends Object
The IIS handler mappings used to define which handler processes HTTP requests with certain extension. For example, it is used to configure php-cgi.exe process to handle all HTTP requests with *.php extension.
  • Constructor Details

    • HandlerMapping

      public HandlerMapping()
  • Method Details

    • extension

      public String extension()
      Get requests with this extension will be handled using the specified FastCGI application.
      Returns:
      the extension value
    • withExtension

      public HandlerMapping withExtension(String extension)
      Set requests with this extension will be handled using the specified FastCGI application.
      Parameters:
      extension - the extension value to set
      Returns:
      the HandlerMapping object itself.
    • scriptProcessor

      public String scriptProcessor()
      Get the absolute path to the FastCGI application.
      Returns:
      the scriptProcessor value
    • withScriptProcessor

      public HandlerMapping withScriptProcessor(String scriptProcessor)
      Set the absolute path to the FastCGI application.
      Parameters:
      scriptProcessor - the scriptProcessor value to set
      Returns:
      the HandlerMapping object itself.
    • arguments

      public String arguments()
      Get command-line arguments to be passed to the script processor.
      Returns:
      the arguments value
    • withArguments

      public HandlerMapping withArguments(String arguments)
      Set command-line arguments to be passed to the script processor.
      Parameters:
      arguments - the arguments value to set
      Returns:
      the HandlerMapping object itself.