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
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ReceivePackFactory<javax.servlet.http.HttpServletRequest>
-
Constructor Summary
ConstructorsConstructorDescriptionInfoRefs
(ReceivePackFactory<javax.servlet.http.HttpServletRequest> receivePackFactory, List<javax.servlet.Filter> filters) -
Method Summary
Modifier and TypeMethodDescriptionprotected 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 Details
-
receivePackFactory
-
-
Constructor Details
-
InfoRefs
InfoRefs(ReceivePackFactory<javax.servlet.http.HttpServletRequest> receivePackFactory, List<javax.servlet.Filter> filters)
-
-
Method Details
-
begin
protected void begin(javax.servlet.http.HttpServletRequest req, Repository db) throws IOException, ServiceNotEnabledException, ServiceNotAuthorizedException Description copied from class:SmartServiceInfoRefs
Begin service.- Specified by:
begin
in classSmartServiceInfoRefs
- Parameters:
req
- requestdb
- repository- Throws:
IOException
ServiceNotEnabledException
ServiceNotAuthorizedException
-
advertise
protected void advertise(javax.servlet.http.HttpServletRequest req, RefAdvertiser.PacketLineOutRefAdvertiser pck) throws IOException, ServiceNotEnabledException, ServiceNotAuthorizedException Description copied from class:SmartServiceInfoRefs
Advertise.- Specified by:
advertise
in classSmartServiceInfoRefs
- Parameters:
req
- request- Throws:
IOException
ServiceNotEnabledException
ServiceNotAuthorizedException
-