Class CustomResourceContribution

java.lang.Object
ch.tocco.nice2.web.core.impl.servlet.script.CustomResourceContribution

public class CustomResourceContribution extends Object
Use this contribution to register any resources which must be published under `/nice2/javascript/`. The resource will be delivered as is (no processing) with the specified content type.
  • Constructor Details

    • CustomResourceContribution

      public CustomResourceContribution()
  • Method Details

    • getPath

      public String getPath()
    • setPath

      public void setPath(String path)
    • getSource

      public ModelResource getSource()
    • setSource

      public void setSource(ModelResource source)
    • getContentType

      public String getContentType()
    • setContentType

      public void setContentType(String contentType)