Package org.apache.tapestry5.internal.services.security

## Class LocalhostOnly

- java.lang.Object
- - org.apache.tapestry5.internal.services.security.LocalhostOnly

- All Implemented Interfaces:
    `WhitelistAnalyzer`

      public class LocalhostOnly
      extends Object
      implements WhitelistAnalyzer

  Standard analyzer that places requests from the "localhost", "127.0.0.1", "0:0:0:0:0:0:0:1%0", or :"0:0:0:0:0:0:0:1" onto the white list.
  Since:
    5.3

- - ### Constructor Summary

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

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | `isRequestOnWhitelist​(Request request)` |

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

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

- - ### Constructor Detail

    - #### LocalhostOnly

          public LocalhostOnly()

  - ### Method Detail

    - #### isRequestOnWhitelist

          public boolean isRequestOnWhitelist​(Request request)

      Specified by:
        `isRequestOnWhitelist` in interface `WhitelistAnalyzer`