jersey-mvc-velocity

jersey ext mvc velocity

License

License

Categories

Categories

Jersey Program Interface REST Frameworks
GroupId

GroupId

org.fastquery
ArtifactId

ArtifactId

jersey-mvc-velocity
Last Version

Last Version

1.2
Release Date

Release Date

Type

Type

jar
Description

Description

jersey-mvc-velocity
jersey ext mvc velocity
Project URL

Project URL

https://github.com/xixifeng/jersey-mvc-velocity
Source Code Management

Source Code Management

https://github.com/xixifeng/jersey-mvc-velocity

Download jersey-mvc-velocity

How to add to project

<!-- https://jarcasting.com/artifacts/org.fastquery/jersey-mvc-velocity/ -->
<dependency>
    <groupId>org.fastquery</groupId>
    <artifactId>jersey-mvc-velocity</artifactId>
    <version>1.2</version>
</dependency>
// https://jarcasting.com/artifacts/org.fastquery/jersey-mvc-velocity/
implementation 'org.fastquery:jersey-mvc-velocity:1.2'
// https://jarcasting.com/artifacts/org.fastquery/jersey-mvc-velocity/
implementation ("org.fastquery:jersey-mvc-velocity:1.2")
'org.fastquery:jersey-mvc-velocity:jar:1.2'
<dependency org="org.fastquery" name="jersey-mvc-velocity" rev="1.2">
  <artifact name="jersey-mvc-velocity" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.fastquery', module='jersey-mvc-velocity', version='1.2')
)
libraryDependencies += "org.fastquery" % "jersey-mvc-velocity" % "1.2"
[org.fastquery/jersey-mvc-velocity "1.2"]

Dependencies

provided (5)

Group / Artifact Type Version
org.apache.velocity : velocity-engine-core jar 2.0
org.slf4j : slf4j-api jar 1.7.25
javax.servlet : javax.servlet-api jar 3.1.0
org.glassfish.jersey.inject : jersey-hk2 jar 2.26
org.glassfish.jersey.ext : jersey-mvc jar 2.26

Project Modules

There are no modules declared in this project.

Maven

<dependency>
    <groupId>org.fastquery</groupId>
    <artifactId>jersey-mvc-velocity</artifactId>
    <version>1.1</version>
</dependency>

Gradle/Grails

compile 'org.fastquery:jersey-mvc-velocity:1.1'

Jersey Velocity MVC Templates

import org.glassfish.jersey.server.ResourceConfig;
import org.glassfish.jersey.server.mvc.MvcFeature;

public class Application extends ResourceConfig {

	public Application() throws IOException {
		// 注册Velocity模板引擎
		register(org.fastquery.jersey.mvc.VelocityTemplateProcessor.class);
		register(MvcFeature.class);
	}
	
}

Versions

Version
1.2
1.1
1.0