Package org.eclipse.jgit.http.server
Class ReceivePackServlet.InfoRefs
- java.lang.Object
-
- org.eclipse.jgit.http.server.SmartServiceInfoRefs
-
- org.eclipse.jgit.http.server.ReceivePackServlet.InfoRefs
-
- All Implemented Interfaces:
javax.servlet.Filter
- Enclosing class:
- ReceivePackServlet
static class ReceivePackServlet.InfoRefs extends SmartServiceInfoRefs
-
-
Field Summary
Fields Modifier and Type Field Description private ReceivePackFactory<javax.servlet.http.HttpServletRequest>
receivePackFactory
-
Constructor Summary
Constructors Constructor Description InfoRefs(ReceivePackFactory<javax.servlet.http.HttpServletRequest> receivePackFactory, java.util.List<javax.servlet.Filter> filters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
advertise(javax.servlet.http.HttpServletRequest req, RefAdvertiser.PacketLineOutRefAdvertiser pck)
Advertise.protected void
begin(javax.servlet.http.HttpServletRequest req, Repository db)
Begin service.-
Methods inherited from class org.eclipse.jgit.http.server.SmartServiceInfoRefs
destroy, doFilter, init, respond
-
-
-
-
Field Detail
-
receivePackFactory
private final ReceivePackFactory<javax.servlet.http.HttpServletRequest> receivePackFactory
-
-
Constructor Detail
-
InfoRefs
InfoRefs(ReceivePackFactory<javax.servlet.http.HttpServletRequest> receivePackFactory, java.util.List<javax.servlet.Filter> filters)
-
-
Method Detail
-
begin
protected void begin(javax.servlet.http.HttpServletRequest req, Repository db) throws java.io.IOException, ServiceNotEnabledException, ServiceNotAuthorizedException
Description copied from class:SmartServiceInfoRefs
Begin service.- Specified by:
begin
in classSmartServiceInfoRefs
- Parameters:
req
- requestdb
- repository- Throws:
java.io.IOException
ServiceNotEnabledException
ServiceNotAuthorizedException
-
advertise
protected void advertise(javax.servlet.http.HttpServletRequest req, RefAdvertiser.PacketLineOutRefAdvertiser pck) throws java.io.IOException, ServiceNotEnabledException, ServiceNotAuthorizedException
Description copied from class:SmartServiceInfoRefs
Advertise.- Specified by:
advertise
in classSmartServiceInfoRefs
- Parameters:
req
- request- Throws:
java.io.IOException
ServiceNotEnabledException
ServiceNotAuthorizedException
-
-