Package org.lockss.laaws.crawler.api
Interface CrawlsApiDelegate
- All Known Implementing Classes:
CrawlsApiServiceImpl
public interface CrawlsApiDelegate
A delegate to be called by the
CrawlsApiController}.
Implement this interface with a Service annotated class.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault org.springframework.http.ResponseEntity<CrawlStatus>getCrawlById(String jobId) default org.springframework.http.ResponseEntity<UrlPager>getCrawlByMimeType(String jobId, String type, Integer limit, String continuationToken) default org.springframework.http.ResponseEntity<UrlPager>getCrawlErrors(String jobId, Integer limit, String continuationToken) default org.springframework.http.ResponseEntity<UrlPager>getCrawlExcluded(String jobId, Integer limit, String continuationToken) default org.springframework.http.ResponseEntity<UrlPager>getCrawlFetched(String jobId, Integer limit, String continuationToken) default org.springframework.http.ResponseEntity<UrlPager>getCrawlNotModified(String jobId, Integer limit, String continuationToken) default org.springframework.http.ResponseEntity<UrlPager>getCrawlParsed(String jobId, Integer limit, String continuationToken) default org.springframework.http.ResponseEntity<UrlPager>getCrawlPending(String jobId, Integer limit, String continuationToken) default org.springframework.http.ResponseEntity<CrawlPager>default Optional<com.fasterxml.jackson.databind.ObjectMapper>default Optional<jakarta.servlet.http.HttpServletRequest>
-
Field Details
-
log
static final org.slf4j.Logger log
-
-
Method Details
-
getObjectMapper
-
getRequest
-
getAcceptHeader
-
getCrawlById
- See Also:
-
getCrawlByMimeType
-
getCrawlErrors
-
getCrawlExcluded
-
getCrawlFetched
-
getCrawlNotModified
-
getCrawlParsed
-
getCrawlPending
-
getCrawls
default org.springframework.http.ResponseEntity<CrawlPager> getCrawls(Integer limit, String continuationToken)
-