org.richfaces.resource.mapping

## Class ResourceServletMapping

- java.lang.Object
- - org.richfaces.resource.mapping.ResourceServletMapping

- All Implemented Interfaces:
    ResourceMapping

      public class ResourceServletMapping
      extends Object
      implements ResourceMapping

  Maps resource with given key to RichFaces `ResourceServlet`.
  Author:
    Lukas Fryc

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ResourceServletMapping(ResourceKey resourceKey)`
    `ResourceServletMapping(ResourcePath resourcePath)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `ResourcePath` | `getResourcePath(javax.faces.context.FacesContext context)` Returns an URL where resource interpred by this mapping is mapped.

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

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

- - ### Constructor Detail

    - #### ResourceServletMapping

          public ResourceServletMapping(ResourceKey resourceKey)

    - #### ResourceServletMapping

          public ResourceServletMapping(ResourcePath resourcePath)

  - ### Method Detail

    - #### getResourcePath

          public ResourcePath getResourcePath(javax.faces.context.FacesContext context)

      Description copied from interface: `ResourceMapping`
      Returns an URL where resource interpred by this mapping is mapped.
      Specified by:
        `getResourcePath` in interface `ResourceMapping`
      Returns:
        URL where resource interpred by this mapping is mapped

Copyright © 2015 JBoss by Red Hat. All Rights Reserved.