otter

Micro web framework for servlet api 4.0

License

License

Categories

Categories

Net
GroupId

GroupId

net.tokensmith
ArtifactId

ArtifactId

otter
Last Version

Last Version

1.5.7
Release Date

Release Date

Type

Type

jar
Description

Description

otter
Micro web framework for servlet api 4.0
Project URL

Project URL

https://github.com/tokensmith/otter
Source Code Management

Source Code Management

https://github.com/tokensmith/otter

Download otter

How to add to project

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

Dependencies

compile (17)

Group / Artifact Type Version
net.tokensmith : otter-translatable jar 1.5.7
javax.servlet : javax.servlet-api jar 4.0.1
org.eclipse.jetty : jetty-annotations jar 9.4.29.v20200521
org.eclipse.jetty : jetty-webapp jar 9.4.29.v20200521
org.eclipse.jetty : apache-jsp jar 9.4.29.v20200521
org.eclipse.jetty : apache-jstl jar 9.4.29.v20200521
org.eclipse.jetty : jetty-http jar 9.4.29.v20200521
org.eclipse.jetty.http2 : http2-server jar 9.4.29.v20200521
com.fasterxml.jackson.core : jackson-core jar 2.11.0
com.fasterxml.jackson.core : jackson-databind jar 2.11.0
com.fasterxml.jackson.datatype : jackson-datatype-jdk8 jar 2.11.0
com.fasterxml.jackson.datatype : jackson-datatype-jsr310 jar 2.11.0
com.fasterxml.jackson.module : jackson-module-afterburner jar 2.11.0
jakarta.validation : jakarta.validation-api jar 2.0.2
org.hibernate.validator : hibernate-validator jar 6.1.2.Final
org.slf4j : slf4j-api jar 1.7.25
net.tokensmith : jwt jar 1.3.4

Project Modules

There are no modules declared in this project.

otter

Otter is a micro web framework that sits on top of the servlet api 4.0.1

Contribute!

Contribute!

Hello World Application

If you want to get started with all the details head over to the hello world example application.

Quick Start Application

If you want to get started quickly head over to the quick start example application. Only 5 files to get started.

Dependency coordinates

Latest pinned version is 1.5.7

Current development version is 1.5.7

Maven

<dependencies>
    <dependency>
        <groupId>net.tokensmith</groupId>
        <artifactId>otter</artifactId>
        <version>1.5.7</version>
    </dependency>
</dependencies>

Gradle

compile group: 'net.tokensmith', name: 'otter', version: '1.5.7'

Documentation

Detailed documentation is available.

Why?

Otter was created to provide these features:

  • Preference of Generics over Reflection
  • Abstract the I/O framework from the web framework
  • Regex routing
  • Application encrypted sessions
  • Async I/O
  • HTTP 2

Otter began embedded within a web application in late 2014. Back then there were not many options for those features. It was extracted and open sourced in 2017.

net.tokensmith
OAuth 2.0 and OIDC Identity Server

Versions

Version
1.5.7
1.5.6
1.5.5
1.5.4
1.5.3
1.5.2
1.5.1
1.5.0