@Service public class WarcsApiServiceImpl extends Object implements WarcsApiDelegate
| Constructor and Description |
|---|
WarcsApiServiceImpl(javax.servlet.http.HttpServletRequest request)
Constructor for autowiring.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAcceptHeader, getObjectMapper, getRequest@Autowired public WarcsApiServiceImpl(javax.servlet.http.HttpServletRequest request)
request - An HttpServletRequest with the HTTP request.public org.springframework.http.ResponseEntity<org.springframework.core.io.Resource> getWarcArchive(String fileName, String accept, String acceptEncoding, String range)
getWarcArchive in interface WarcsApiDelegatefileName - 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.WarcsApi.getWarcArchive(java.lang.String, java.lang.String, java.lang.String, java.lang.String)Copyright © 2000–2020 LOCKSS Program. All rights reserved.