Uses of Class
org.fcrepo.storage.ocfl.ResourceHeaders
Packages that use ResourceHeaders
-
Uses of ResourceHeaders in org.fcrepo.storage.ocfl
Methods in org.fcrepo.storage.ocfl that return ResourceHeadersModifier and TypeMethodDescriptionResourceHeaders.Builder.build()ResourceContent.getHeaders()DefaultOcflObjectSession.readHeaders(String resourceId) DefaultOcflObjectSession.readHeaders(String resourceId, String versionNumber) OcflObjectSession.readHeaders(String resourceId) Reads a resource's header file.OcflObjectSession.readHeaders(String resourceId, String versionNumber) Reads a specific version of a resource's header file.DefaultOcflObjectSession.writeResource(ResourceHeaders headers, InputStream content) OcflObjectSession.writeResource(ResourceHeaders headers, InputStream content) Writes a resource to the session.Methods in org.fcrepo.storage.ocfl that return types with arguments of type ResourceHeadersModifier and TypeMethodDescriptionDefaultOcflObjectSession.streamResourceHeaders()This method is NOT currently using the ResourceHeader cache.OcflObjectSession.streamResourceHeaders()Returns the headers for all of the resources contained within an OCFL object.Methods in org.fcrepo.storage.ocfl with parameters of type ResourceHeadersModifier and TypeMethodDescriptionstatic ResourceHeaders.BuilderResourceHeaders.builder(ResourceHeaders original) voidDefaultOcflObjectSession.deleteContentFile(ResourceHeaders headers) voidOcflObjectSession.deleteContentFile(ResourceHeaders headers) Deletes a content file from the session, and updates the associated headers.voidDefaultOcflObjectSession.writeHeaders(ResourceHeaders headers) voidOcflObjectSession.writeHeaders(ResourceHeaders headers) Writes the resources headers to the session.DefaultOcflObjectSession.writeResource(ResourceHeaders headers, InputStream content) OcflObjectSession.writeResource(ResourceHeaders headers, InputStream content) Writes a resource to the session.Constructors in org.fcrepo.storage.ocfl with parameters of type ResourceHeadersModifierConstructorDescriptionBuilder(ResourceHeaders original) ResourceContent(InputStream contentStream, ResourceHeaders headers) Creates a new instanceResourceContent(Optional<InputStream> contentStream, ResourceHeaders headers) Creates a new instanceConstructor parameters in org.fcrepo.storage.ocfl with type arguments of type ResourceHeadersModifierConstructorDescriptionDefaultOcflObjectSession(String sessionId, io.ocfl.api.MutableOcflRepository ocflRepo, String ocflObjectId, Path objectStaging, com.fasterxml.jackson.databind.ObjectReader headerReader, com.fasterxml.jackson.databind.ObjectWriter headerWriter, CommitType commitType, Cache<String, ResourceHeaders> headersCache, Cache<String, String> rootIdCache, HeadersValidator headersValidator, boolean useUnsafeWrite) DefaultOcflObjectSessionFactory(io.ocfl.api.MutableOcflRepository ocflRepo, Path stagingRoot, com.fasterxml.jackson.databind.ObjectMapper objectMapper, Cache<String, ResourceHeaders> headersCache, Cache<String, String> rootIdCache, CommitType defaultCommitType, String defaultVersionMessage, String defaultVersionUserName, String defaultVersionUserAddress) Creates a new DefaultOcflObjectSessionFactory -
Uses of ResourceHeaders in org.fcrepo.storage.ocfl.validation
Methods in org.fcrepo.storage.ocfl.validation with parameters of type ResourceHeadersModifier and TypeMethodDescriptionvoidDefaultHeadersValidator.validate(PersistencePaths paths, ResourceHeaders headers, ResourceHeaders rootHeaders) Validates resource headers.voidHeadersValidator.validate(PersistencePaths paths, ResourceHeaders headers, ResourceHeaders rootHeaders) Validates resource headers.