@Service public class WaybackApiServiceImpl extends BaseSpringApiServiceImpl implements WaybackApiDelegate
BaseSpringApiServiceImpl.MapMessageListenerDEFAULT_CONFIG_WAIT_TIME, DEFAULT_READY_WAIT_TIME, JMS_BOTH, JMS_RECEIVE, JMS_SEND, jmsConsumer, jmsProducer, PARAM_CONFIG_WAIT_TIME, PARAM_READY_WAIT_TIME| Constructor and Description |
|---|
WaybackApiServiceImpl(javax.servlet.http.HttpServletRequest request) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<String> |
getCdxOwb(String namespace,
String q,
Integer count,
Integer startPage,
String accept,
String acceptEncoding)
Provides the OpenWayback CDX records of a URL in a namespace.
|
org.springframework.http.ResponseEntity<String> |
getCdxPywb(String namespace,
String url,
Integer limit,
String matchType,
String sort,
String closest,
String output,
String fl,
String accept,
String acceptEncoding)
Provides the PyWayback CDX records of a URL in a namespace.
|
org.springframework.http.ResponseEntity<org.springframework.core.io.Resource> |
getWarcArchive(String fileName,
String accept,
String acceptEncoding,
String range)
Provides the contents of a WARC archive.
|
configMgrCreated, getClassName, getConfigWaitTime, getJMSManager, getPluginManager, getReadyWaitTime, getRunningLockssDaemon, getWaitTime, jmsSetUpDone, jsonResponse, receiveMessage, registerConfigCallback, setUpJms, setUpJms, setUpJms, stopJms, stringResponse, waitConfig, waitConfig, waitReady, waitReadyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAcceptHeader, getObjectMapper, getRequest@Autowired public WaybackApiServiceImpl(javax.servlet.http.HttpServletRequest request)
public org.springframework.http.ResponseEntity<String> getCdxOwb(String namespace, String q, Integer count, Integer startPage, String accept, String acceptEncoding)
getCdxOwb in interface WaybackApiDelegatenamespace - A String with the namespace.q - A String with the query string. Supported fields are url, type
(urlquery/prefixquery), offset, limit, request.anchordate,
startdate and enddate.count - An Integer with the count of results per page to be returned.startPage - An Integer with the page number of results, 1 based.accept - A String with the Accept request header.acceptEncoding - A String with the Accept-Encoding request header.ResponseEntity<String> with the requested OpenWayback CDX
records.WaybackApi.getCdxOwb(java.lang.String, java.lang.String, java.lang.Integer, java.lang.Integer, java.lang.String, java.lang.String)public org.springframework.http.ResponseEntity<String> getCdxPywb(String namespace, String url, Integer limit, String matchType, String sort, String closest, String output, String fl, String accept, String acceptEncoding)
getCdxPywb in interface WaybackApiDelegatenamespace - A String with of the namespace.url - A String with the URL for which the CDX records are requested.limit - An Integer with the limit.matchType - A String with the type of match requested.sort - A String with the type of sort requested.closest - A String with the timestamp for the sort=closest mode.output - A String with the output format requested.fl - A String with the comma-separated list of fields to include in the
result.accept - A String with the Accept request header.acceptEncoding - A String with the Accept-Encoding request header.ResponseEntity<String> with the requested PyWayback CDX
records.WaybackApi.getCdxPywb(java.lang.String, java.lang.String, java.lang.Integer, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)public org.springframework.http.ResponseEntity<org.springframework.core.io.Resource> getWarcArchive(String fileName, String accept, String acceptEncoding, String range)
getWarcArchive in interface WaybackApiDelegatefileName - A String with the name of the requested WARC archive.accept - A String with the Accept request header.acceptEncoding - A String with the Accept-Encoding request header.range - A String with the Range request header.ResponseEntity<Resource> with the contents of the
requested WARC archive.WaybackApi.getWarcArchive(java.lang.String, java.lang.String, java.lang.String, java.lang.String)Copyright © 2000–2023 LOCKSS Program. All rights reserved.