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 voidadvertise(javax.servlet.http.HttpServletRequest req, RefAdvertiser.PacketLineOutRefAdvertiser pck) Advertise.protected voidbegin(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:SmartServiceInfoRefsBegin service.- Specified by:
beginin classSmartServiceInfoRefs- Parameters:
req- requestdb- repository- Throws:
IOExceptionServiceNotEnabledExceptionServiceNotAuthorizedException
-
advertise
protected void advertise(javax.servlet.http.HttpServletRequest req, RefAdvertiser.PacketLineOutRefAdvertiser pck) throws IOException, ServiceNotEnabledException, ServiceNotAuthorizedException Description copied from class:SmartServiceInfoRefsAdvertise.- Specified by:
advertisein classSmartServiceInfoRefs- Parameters:
req- request- Throws:
IOExceptionServiceNotEnabledExceptionServiceNotAuthorizedException
-