Top Description Methods
org.eclipse.jgit.http.server.glue

public Interface ServletBinder

Known Direct Implementers
org.eclipse.jgit.http.server.glue.ServletBinderImpl
Imports
jakarta.servlet.Filter, jakarta.servlet.http.HttpServlet

Binds a servlet to a URL.

Method Summary

Modifier and TypeMethod and Description
public ServletBinder

Returns:

this.
through
(Filter
the filter to trigger while processing the path.
filter
)

Set the filter to trigger while processing the path.

public void
with(HttpServlet
the servlet to execute on this path.
servlet
)

Set the servlet to execute on this path

Method Detail

throughback to summary
public ServletBinder through(Filter filter)

Set the filter to trigger while processing the path.

Parameters
filter:Filter

the filter to trigger while processing the path.

Returns:ServletBinder

this.

Since
7.0
withback to summary
public void with(HttpServlet servlet)

Set the servlet to execute on this path

Parameters
servlet:HttpServlet

the servlet to execute on this path.

Since
7.0