jexpresso-static-resources

A middleware component to serve static files for JExpresso web framework

License

License

GroupId

GroupId

de.yourinspiration
ArtifactId

ArtifactId

jexpresso-static-resources
Last Version

Last Version

1.1.2
Release Date

Release Date

Type

Type

jar
Description

Description

jexpresso-static-resources
A middleware component to serve static files for JExpresso web framework
Project URL

Project URL

https://github.com/Yourinspiration/jexpresso-static-resources
Project Organization

Project Organization

Yourinspiration
Source Code Management

Source Code Management

https://github.com/Yourinspiration/jexpresso-static-resources.git

Download jexpresso-static-resources

How to add to project

<!-- https://jarcasting.com/artifacts/de.yourinspiration/jexpresso-static-resources/ -->
<dependency>
    <groupId>de.yourinspiration</groupId>
    <artifactId>jexpresso-static-resources</artifactId>
    <version>1.1.2</version>
</dependency>
// https://jarcasting.com/artifacts/de.yourinspiration/jexpresso-static-resources/
implementation 'de.yourinspiration:jexpresso-static-resources:1.1.2'
// https://jarcasting.com/artifacts/de.yourinspiration/jexpresso-static-resources/
implementation ("de.yourinspiration:jexpresso-static-resources:1.1.2")
'de.yourinspiration:jexpresso-static-resources:jar:1.1.2'
<dependency org="de.yourinspiration" name="jexpresso-static-resources" rev="1.1.2">
  <artifact name="jexpresso-static-resources" type="jar" />
</dependency>
@Grapes(
@Grab(group='de.yourinspiration', module='jexpresso-static-resources', version='1.1.2')
)
libraryDependencies += "de.yourinspiration" % "jexpresso-static-resources" % "1.1.2"
[de.yourinspiration/jexpresso-static-resources "1.1.2"]

Dependencies

compile (3)

Group / Artifact Type Version
de.yourinspiration : jexpresso jar 1.1.1
com.google.guava : guava jar 17.0
commons-io : commons-io jar 2.4

test (1)

Group / Artifact Type Version
junit : junit jar 4.11

Project Modules

There are no modules declared in this project.

JExpresso middleware for static resources

A middleware compenent for JExpresso application to serve static resources like files and images.

Maven

Latest stable release:

<dependency>
  <groupId>de.yourinspiration</groupId>
  <artifactId>jexpresso-static-resources</artifactId>
  <version>1.1.2</version>
</dependency>

Usage

final JExpresso app = new JExpresso();
// Serves all files inside the folder 'assets'.
// Set the second argument to false, if file caching should be disabled.
app.use(new StaticResources("assets", true));

Versions

Version
1.1.2
1.1.1
1.1.0
1.0.0