Top Fields Constructors Methods
org.eclipse.jgit.http.server.glue

pack-priv abstract Class ServletBinderImpl

extends Object
implements ServletBinder
Class Inheritance
All Implemented Interfaces
org.eclipse.jgit.http.server.glue.ServletBinder
Known Direct Subclasses
org.eclipse.jgit.http.server.glue.SuffixPipeline.Binder, org.eclipse.jgit.http.server.glue.RegexPipeline.Binder
Imports
java.util.ArrayList, .List, jakarta.servlet.Filter, jakarta.servlet.http.HttpServlet, .HttpServletResponse, org.eclipse.jgit.http.server.HttpServerText

Field Summary

Modifier and TypeField and Description
private final List<Filter>
private HttpServlet

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv abstract UrlPipeline

Returns:

the pipeline that matches and executes this chain.
create
()

Create UrlPipeline

protected Filter[]

Returns:

the configured filters; zero-length array if none.
getFilters
()

Get filters

protected HttpServlet

Returns:

the configured servlet, or singleton returning 404 if none.
getServlet
()

Get the servlet

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

Implements org.eclipse.jgit.http.server.glue.ServletBinder.through.

Set the filter to trigger while processing the path.

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

Implements org.eclipse.jgit.http.server.glue.ServletBinder.with.

Set the servlet to execute on this path

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

filtersback to summary
private final List<Filter> filters
httpServletback to summary
private HttpServlet httpServlet

Constructor Detail

ServletBinderImplback to summary
pack-priv ServletBinderImpl()

Method Detail

createback to summary
pack-priv abstract UrlPipeline create()

Create UrlPipeline

Returns:UrlPipeline

the pipeline that matches and executes this chain.

getFiltersback to summary
protected Filter[] getFilters()

Get filters

Returns:Filter[]

the configured filters; zero-length array if none.

getServletback to summary
protected HttpServlet getServlet()

Get the servlet

Returns:HttpServlet

the configured servlet, or singleton returning 404 if none.

throughback to summary
public ServletBinder through(Filter filter)

Implements org.eclipse.jgit.http.server.glue.ServletBinder.through.

Doc from org.eclipse.jgit.http.server.glue.ServletBinder.through.

Set the filter to trigger while processing the path.

Parameters
filter:Filter

the filter to trigger while processing the path.

Returns:ServletBinder

this.

Annotations
@Override
withback to summary
public void with(HttpServlet servlet)

Implements org.eclipse.jgit.http.server.glue.ServletBinder.with.

Doc from org.eclipse.jgit.http.server.glue.ServletBinder.with.

Set the servlet to execute on this path

Parameters
servlet:HttpServlet

the servlet to execute on this path.

Annotations
@Override