A C F G H N P R S

A

addProperty(String, String) - Method in class net.sf.javaprinciples.resource.servlet.ResourceModel
Add a property that would be returned in the header.

C

checkSecurity(String, String) - Method in interface net.sf.javaprinciples.resource.ResourceSecurity
 
clear() - Method in interface net.sf.javaprinciples.resource.ResourceCache
Clear the entire resource cache.
clear(ResourceIdentifier) - Method in interface net.sf.javaprinciples.resource.ResourceCache
Clear a specific resource from the cache based on supplied identifier.
containsResource(ResourceIdentifier) - Method in interface net.sf.javaprinciples.resource.ResourceCache
 
createResource(String) - Method in interface net.sf.javaprinciples.resource.ResourceCreator
 

F

fetch(File) - Method in interface net.sf.javaprinciples.resource.ResourceMetadataDao
 
FileResolver - Interface in net.sf.javaprinciples.resource
Given a ResourceIndentifier determine a File.
formatResource(T) - Method in interface net.sf.javaprinciples.resource.ResourceFormatter
 

G

getContent() - Method in interface net.sf.javaprinciples.resource.Resource
Get content of the resource.
getContentLength() - Method in class net.sf.javaprinciples.resource.ResourceMetadata
 
getContentType() - Method in class net.sf.javaprinciples.resource.ResourceMetadata
 
getCreatedDate() - Method in class net.sf.javaprinciples.resource.ResourceMetadata
 
getCreator() - Method in class net.sf.javaprinciples.resource.ResourceMetadata
 
getEncoding() - Method in interface net.sf.javaprinciples.resource.Resource
The resource may have a specific encoding.
getExpiryDate() - Method in class net.sf.javaprinciples.resource.ResourceMetadata
 
getFileEncoding() - Method in class net.sf.javaprinciples.resource.ResourceMetadata
 
getIdentifier() - Method in interface net.sf.javaprinciples.resource.ResourceIdentifier
Gets the Identifier component of the ResourceIdentifier.
getIdentifier() - Method in class net.sf.javaprinciples.resource.ResourceMetadata
 
getInputStream() - Method in interface net.sf.javaprinciples.resource.Resource
 
getMimeType() - Method in interface net.sf.javaprinciples.resource.Resource
Each resource holds content of a specific type.
getPathElements() - Method in interface net.sf.javaprinciples.resource.ResourceIdentifier
Get the path elements from the ResourceIdentifier.
getProperty(String) - Method in class net.sf.javaprinciples.resource.servlet.ResourceModel
The property value for a key.
getPropertyKeys() - Method in class net.sf.javaprinciples.resource.servlet.ResourceModel
A method to iterator the properties.
getQueryParameters() - Method in interface net.sf.javaprinciples.resource.ResourceIdentifier
Gets the query parameters associated with the ResourceIdentifier.
getResource(ResourceIdentifier) - Method in interface net.sf.javaprinciples.resource.ResourceCache
 
getResource(ResourceIdentifier) - Method in interface net.sf.javaprinciples.resource.ResourceFactory
 
getResource(ResourceIdentifier) - Method in interface net.sf.javaprinciples.resource.ResourceGetService
Get a Resource by its identifier.
getResource() - Method in class net.sf.javaprinciples.resource.servlet.ResourceModel
The resource previously set.
getResourceLength() - Method in interface net.sf.javaprinciples.resource.Resource
The length of the resource in bytes
getStatusCode() - Method in class net.sf.javaprinciples.resource.servlet.ResourceModel
A status code that may have been optional set.
getValidFrom() - Method in interface net.sf.javaprinciples.resource.Resource
A resource may be valid from a point in time.
getValidUntil() - Method in interface net.sf.javaprinciples.resource.Resource
A resource may be valid only up to a point in time.

H

handleRequest(ResourceModel<T>, HttpServletRequest) - Method in interface net.sf.javaprinciples.resource.servlet.RequestHandler
 

N

net.sf.javaprinciples.resource - package net.sf.javaprinciples.resource
 
net.sf.javaprinciples.resource.servlet - package net.sf.javaprinciples.resource.servlet
 

P

parse(HttpServletRequest) - Method in interface net.sf.javaprinciples.resource.ResourceIdentifierParser
Parse the provided String version of a URI to produce a ResourceIdentifier.
putResource(ResourceIdentifier, Resource) - Method in interface net.sf.javaprinciples.resource.ResourceCache
 
putResource(ResourceIdentifier, Resource<T>) - Method in interface net.sf.javaprinciples.resource.ResourceFactory
Put a Resource representation to the server in response to a PUT request.
putResource(Resource<T>) - Method in interface net.sf.javaprinciples.resource.ResourceFactory
Put a Resource representation to the server in response to a POST request.
putResource(ResourceIdentifier, Resource<T>) - Method in interface net.sf.javaprinciples.resource.ResourcePutService
Put/Post a Resource.

R

RequestHandler<T> - Interface in net.sf.javaprinciples.resource.servlet
Handler for individual HTTP methods.
resolve(ResourceIdentifier) - Method in interface net.sf.javaprinciples.resource.FileResolver
 
Resource<T> - Interface in net.sf.javaprinciples.resource
The Resource object encapsulates the content.
ResourceCache - Interface in net.sf.javaprinciples.resource
 
ResourceCreator - Interface in net.sf.javaprinciples.resource
A simple creator that allows the implementation of the Resource to be controlled via Spring.
ResourceException - Exception in net.sf.javaprinciples.resource
Base Exception class for exceptions thrown by the Resource framework.
ResourceException(String, Throwable) - Constructor for exception net.sf.javaprinciples.resource.ResourceException
Construct a ResourceException with a message and a throwable.
ResourceException(String) - Constructor for exception net.sf.javaprinciples.resource.ResourceException
Construct a ResourceException with only a message.
ResourceFactory<T> - Interface in net.sf.javaprinciples.resource
 
ResourceFormatter<T,S> - Interface in net.sf.javaprinciples.resource
 
ResourceGetService<T> - Interface in net.sf.javaprinciples.resource
Service interface for GET operations for Resources.
ResourceIdentifier - Interface in net.sf.javaprinciples.resource
Interface encapsulating the Identifier for a Resource.
ResourceIdentifierParser - Interface in net.sf.javaprinciples.resource
Interface representing a method of parsing some form of URI into a ResourceIdentifier.
ResourceMetadata - Class in net.sf.javaprinciples.resource
Model object for Resource Metadata, maybe generated from a UML model in the future.
ResourceMetadata() - Constructor for class net.sf.javaprinciples.resource.ResourceMetadata
 
ResourceMetadataDao - Interface in net.sf.javaprinciples.resource
TODO
ResourceModel<T> - Class in net.sf.javaprinciples.resource.servlet
 
ResourceModel() - Constructor for class net.sf.javaprinciples.resource.servlet.ResourceModel
 
ResourceNotFoundException - Exception in net.sf.javaprinciples.resource
 
ResourceNotFoundException(String) - Constructor for exception net.sf.javaprinciples.resource.ResourceNotFoundException
 
ResourceParseException - Exception in net.sf.javaprinciples.resource
 
ResourceParseException(String) - Constructor for exception net.sf.javaprinciples.resource.ResourceParseException
 
ResourcePutService<T> - Interface in net.sf.javaprinciples.resource
Service interface for PUT and POST operations for Resources.
ResourceSecurity - Interface in net.sf.javaprinciples.resource
 
ResourceSecurityException - Exception in net.sf.javaprinciples.resource
 
ResourceSecurityException(String) - Constructor for exception net.sf.javaprinciples.resource.ResourceSecurityException
 

S

setContent(T) - Method in interface net.sf.javaprinciples.resource.Resource
Apply content to the resource.
setContentLength(long) - Method in class net.sf.javaprinciples.resource.ResourceMetadata
 
setContentType(String) - Method in class net.sf.javaprinciples.resource.ResourceMetadata
 
setCreatedDate(Date) - Method in class net.sf.javaprinciples.resource.ResourceMetadata
 
setCreator(String) - Method in class net.sf.javaprinciples.resource.ResourceMetadata
 
setExpiryDate(Date) - Method in class net.sf.javaprinciples.resource.ResourceMetadata
 
setFileEncoding(String) - Method in class net.sf.javaprinciples.resource.ResourceMetadata
 
setIdentifier(String) - Method in class net.sf.javaprinciples.resource.ResourceMetadata
 
setResource(Resource<T>) - Method in class net.sf.javaprinciples.resource.servlet.ResourceModel
The resource that contains the data of interest.
setStatusCode(int) - Method in class net.sf.javaprinciples.resource.servlet.ResourceModel
A code that will be set on the response.
store(ResourceMetadata, File) - Method in interface net.sf.javaprinciples.resource.ResourceMetadataDao
 

A C F G H N P R S

Copyright © 2013. All Rights Reserved.