Class Mirrors3Resource

java.lang.Object
org.ctan.site.resources.mirrors.Mirrors3Resource

@Path("/3.0") @Produces({"application/json","application/xml"}) public class Mirrors3Resource extends Object
The class Mirror3Resource contains the controller for the mirrors resource.
  • Constructor Details

    • Mirrors3Resource

      public Mirrors3Resource(@NonNull @NonNull MirrorService service)
      This is the constructor for the class Mirrors3Resource.
      Parameters:
      service - the underlying service
  • Method Details

    • getActiveMirrors

      @GET @Path("/mirrors") @PermitAll @UnitOfWork("mirrors") public List<Mirrors3Resource.MirrorTo> getActiveMirrors()
      The method getAllMirrors provides means to retrieve a list of all mirror servers.
      Returns:
      a list of matching mirrors