Package org.lockss.laaws.config.api
Interface ConfigApiDelegate
- All Known Implementing Classes:
ConfigApiServiceImpl
public interface ConfigApiDelegate
A delegate to be called by the
ConfigApiController}.
Implement this interface with a Service annotated class.-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault org.springframework.http.ResponseEntity<OffsetDateTime>default Optional<com.fasterxml.jackson.databind.ObjectMapper>default org.springframework.http.ResponseEntity<org.lockss.ws.entities.PlatformConfigurationWsResult>default Optional<jakarta.servlet.http.HttpServletRequest>default org.springframework.http.ResponseEntity<org.springframework.core.io.Resource>getSectionConfig(String sectionName, String ifMatch, String ifModifiedSince, String ifNoneMatch, String ifUnmodifiedSince) default org.springframework.http.ResponseEntity<org.springframework.core.io.Resource>getUrlConfig(String url, String ifMatch, String ifModifiedSince, String ifNoneMatch, String ifUnmodifiedSince) default org.springframework.http.ResponseEntity<Void>putConfig(String sectionName, org.springframework.web.multipart.MultipartFile configFile, String ifMatch, String ifModifiedSince, String ifNoneMatch, String ifUnmodifiedSince) default org.springframework.http.ResponseEntity<Void>
-
Field Details
-
log
static final org.slf4j.Logger log
-
-
Method Details
-
getObjectMapper
-
getRequest
-
getAcceptHeader
-
getLastUpdateTime
- See Also:
-
getLoadedUrlList
- See Also:
-
getPlatformConfig
default org.springframework.http.ResponseEntity<org.lockss.ws.entities.PlatformConfigurationWsResult> getPlatformConfig()- See Also:
-
getSectionConfig
-
getUrlConfig
-
putConfig
-
putConfigReload
- See Also:
-