Package edu.wisc.game.rest

## Class AutomaticRuleGeneratorService

- java.lang.Object
- - edu.wisc.game.rest.GameService2
  - - edu.wisc.game.rest.AutomaticRuleGeneratorService

-     @Path("/AutomaticRuleGeneratorService")
      public class AutomaticRuleGeneratorService
      extends GameService2

  The AutomaticRuleGenerator demo service.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `AutomaticRuleGeneratorService()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `generateHtml​(String paraText, String templateText, int n)` |

    - ### Methods inherited from class edu.wisc.game.rest.GameService2

      `abandon, activateBonus, colorMap, display, findPlans, getVersion, giveUp, guess, listShapes, mostRecentEpisode, move, move, newEpisode, player, registerUser`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AutomaticRuleGeneratorService

          public AutomaticRuleGeneratorService()

  - ### Method Detail

    - #### generateHtml

          @POST
          @Path("/generateHtml")
          @Consumes("application/x-www-form-urlencoded")
          @Produces("text/html")
          public String generateHtml​(@FormParam("paraText")
                                     String paraText,
                                     @FormParam("templateText")
                                     String templateText,
                                     @FormParam("n")
                                     int n)