7.0.1 (Dec 24, 2017)

This release is a minor update. It includes the following prereq updates:

- Apache HttpClient: 4.5.3 to 4.5.4
- Eclipse Jetty: 9.4.6.v20170531 to 9.4.8.v20171121

##### juneau-marshall

- New static create() methods for builders on serializers and parsers.
  This simplifies the syntax of creation of serializers and parsers by scratch.

  // Old way JsonSerializer s1 = new JsonSerializerBuilder().ws().build(); // New way JsonSerializer s2 = JsonSerializer.create().ws().build();

  The same static create methods have also been added to the following classes:
  - {@link oaj.serializer.SerializerGroup#create()}
  - {@link oaj.parser.ParserGroup#create()}
  - {@link oaj.encoders.EncoderGroup#create()}
  - {@link oajrc.RestClient#create()}
  - ConfigFile.create()
- The order of the parameters in {@link oaj.serializer.SerializerSession#serialize(Object,Object)} has been change to match {@link oaj.serializer.Serializer#serialize(Object,Object)}.
- Fixed some bugs in the XML parser related to whitespace and comments.

##### juneau-svl

- New methods on {@link oaj.svl.Var} class to restrict when nested and embedded variables are resolved.
  - {@link oaj.svl.Var#allowNested()}
  - {@link oaj.svl.Var#allowRecurse()}

##### juneau-rest-server

- New @RestResource(maxInput) and {@link oajr.annotation.RestMethod#maxInput() @RestMethod(maxInput)} for alleviating potential DoS attacks.

##### juneau-microservice-server

- New pluggable console commands.
  When you start up the microservice, you'll now see the following:

  Running class 'RestMicroservice' using config file 'examples.cfg'. Server started on port 10000 List of available commands: exit -- Shut down service restart -- Restarts service help -- Commands help echo -- Echo command > help help NAME help -- Commands help SYNOPSIS help [command] DESCRIPTION When called without arguments, prints the descriptions of all available commands. Can also be called with one or more arguments to get detailed information on a command. EXAMPLES List all commands: > help List help on the help command: > help help >

  Commands are pluggable and extensible through the config file.

  #======================================================================================================================= # Console settings #======================================================================================================================= [Console] enabled = true # List of available console commands. # These are classes that implements ConsoleCommand that allow you to submit commands to the microservice via # the console. # When listed here, the implementations must provide a no-arg constructor. # They can also be provided dynamically by overriding the Microservice.createConsoleCommands() method. commands = org.apache.juneau.microservice.console.ExitCommand, org.apache.juneau.microservice.console.RestartCommand, org.apache.juneau.microservice.console.HelpCommand

  - New classes:
    - {@link oaj.microservice.console.ConsoleCommand}
    - {@link oaj.microservice.console.ExitCommand}
    - {@link oaj.microservice.console.RestartCommand}
    - {@link oaj.microservice.console.HelpCommand}
  - New methods on {@link oaj.microservice.Microservice}
    - {@link oaj.microservice.Microservice#startConsole() startConsole()}
    - createConsoleCommands()
    - {@link oaj.microservice.Microservice#getConsoleReader() getConsoleReader()}
    - {@link oaj.microservice.Microservice#getConsoleWriter() getConsoleWriter()}
- Console input reader and output writer can now be overridden.
- Console strings are now internationalized.