A B C D E F G H I L M O P Q R S T U V W _
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractDeveloperHelperService - Class in org.sakaiproject.entitybroker.util.devhelper
-
implementation of the helper service methods which are internal only NOTE: you should probably override encode and decode data rather than simply using the current impl
- AbstractDeveloperHelperService() - Constructor for class org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService
-
EMPTY - do not use
- AbstractDeveloperHelperService(EntityBroker, EntityBrokerManager) - Constructor for class org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService
-
MINIMAL
- AbstractEntityPropertiesService - Class in org.sakaiproject.entitybroker.util.core
-
This service allows us to track all the properties files related to describing the capabilities of our entities and the entities themselves, it allows lookup of strings as well
NOTE: For internal use only, has no dependencies - AbstractEntityPropertiesService() - Constructor for class org.sakaiproject.entitybroker.util.core.AbstractEntityPropertiesService
- AbstractEntityPropertiesService.MessageBundle - Interface in org.sakaiproject.entitybroker.util.core
- AbstractEntityProvider - Class in org.sakaiproject.entitybroker.util
-
WARNING: Requires Spring 1.2.8 or newer libraries in the classpath
Makes it easier to writeEntityProviders in webapps
A class to extend that gets rid of some of the redundant code that has to be written over and over, causes this provider to be registered when it is created and unregistered when it is destroyed, also includes theDeveloperHelperServiceas a protected variable, pairs with the parent bean (org.sakaiproject.entitybroker.entityprovider.AbstractEntityProvider)
Create your spring bean like so (class is your provider, set whatever properties you are using): - AbstractEntityProvider() - Constructor for class org.sakaiproject.entitybroker.util.AbstractEntityProvider
- access() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityHttpSession
- AccessProviderManagerImpl<T> - Class in org.sakaiproject.entitybroker.util.access
-
A common generic implementation class for managers of different kinds of access providers.
- AccessProviderManagerImpl() - Constructor for class org.sakaiproject.entitybroker.util.access.AccessProviderManagerImpl
- addCookie(Cookie) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
-
Adds a new cookie to the request
- addCookie(Cookie) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- addCustomAction(String, CustomAction) - Method in class org.sakaiproject.entitybroker.util.core.EntityProviderMethodStoreImpl
- addDateHeader(String, long) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- addHeader(String, String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- addHeader(String, String...) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- addInitParameter(String, String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityServletContext
- addIntHeader(String, int) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- addParameter(String, String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
-
Add a single parameter, this will append to an existing one
- addParameter(String, String[]) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
-
Add an array of values for a parameter, these will append to existing ones
- addResourceChild(EntityContent) - Method in class org.sakaiproject.entitybroker.util.model.EntityContent
- addURLRedirects(String, URLRedirect[]) - Method in class org.sakaiproject.entitybroker.util.core.EntityProviderMethodStoreImpl
- after(Time) - Method in class org.sakaiproject.entitybroker.util.model.EntityContent
- afterPropertiesSet() - Method in class org.sakaiproject.entitybroker.util.AbstractEntityProvider
- afterPropertiesSet() - Method in class org.sakaiproject.entitybroker.util.ReloadableComponentProxy
- afterPropertiesSet() - Method in class org.sakaiproject.entitybroker.util.spring.BeanCollectorAutoRegistrar
- APP_VERSION - Static variable in class org.sakaiproject.entitybroker.util.VersionConstants
-
The current version of the application for updating purposes, this should always be the NEXT version of the tool if this is trunk code
- available() - Method in class org.sakaiproject.entitybroker.util.http.EntityServletInputStream
- available() - Method in class org.sakaiproject.entitybroker.util.http.LazyRequestInputStream
B
- BeanCollectorAutoRegistrar - Class in org.sakaiproject.entitybroker.util.spring
-
This will collect the autoregistered beans and place them into all the locations which requested them
- BeanCollectorAutoRegistrar() - Constructor for class org.sakaiproject.entitybroker.util.spring.BeanCollectorAutoRegistrar
- BeanCollectorAutoRegistrar.OrderComparator - Class in org.sakaiproject.entitybroker.util.spring
-
Comparator to order the collected beans based on order or use default order otherwise
C
- checkClientTrusted(X509Certificate[], String) - Method in class org.sakaiproject.entitybroker.util.http.EasyX509TrustManager
-
see javax.net.ssl.X509TrustManager#checkClientTrusted(X509Certificate[],String authType)
- checkServerTrusted(X509Certificate[], String) - Method in class org.sakaiproject.entitybroker.util.http.EasyX509TrustManager
-
see javax.net.ssl.X509TrustManager#checkServerTrusted(X509Certificate[],String authType)
- clearAttributes() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
-
Remove all attributes
- clearAttributes() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityHttpSession
-
Clear all of this session's attributes.
- clearCookies() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
-
Remove all cookies
- clearHeaders() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
-
Remove all headers
- clearHeaders() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- clearParameters() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
-
Remove all parameters
- cloneBean(T, int, String[]) - Method in class org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService
- close() - Method in class org.sakaiproject.entitybroker.util.http.EntityServletInputStream
- close() - Method in class org.sakaiproject.entitybroker.util.http.EntityServletOutputStream
- close() - Method in class org.sakaiproject.entitybroker.util.http.EntityServletOutputStream.WriterOutputStream
- close() - Method in class org.sakaiproject.entitybroker.util.http.LazyRequestInputStream
- close() - Method in class org.sakaiproject.entitybroker.util.http.LazyResponseOutputStream
- compare(Object, Object) - Method in class org.sakaiproject.entitybroker.util.spring.BeanCollectorAutoRegistrar.OrderComparator
- compare(String, String) - Method in class org.sakaiproject.entitybroker.util.request.RequestUtils.ShortestStringLastComparator
- compare(Map.Entry<String, Object>, Map.Entry<String, Object>) - Method in class org.sakaiproject.entitybroker.util.request.RequestStorageImpl.EntryComparator
- containsHeader(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- CONTENT_TYPE_UTF8 - Static variable in class org.sakaiproject.entitybroker.util.http.HttpRESTUtils
- contextPath - Variable in class org.sakaiproject.entitybroker.util.http.URLData
- convert(Object, Class<T>) - Method in class org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService
- convertToEntities(List<?>) - Static method in class org.sakaiproject.entitybroker.util.EntityDataUtils
-
Convert a list of entities / entity data to just entities, will preserve null (i.e. null in => null out)
- convertToEntity(Object) - Static method in class org.sakaiproject.entitybroker.util.EntityDataUtils
-
Convert an entity/data to just an entity, will preserve null (i.e. null in => null out)
- convertToEntityData(Object, EntityReference) - Static method in class org.sakaiproject.entitybroker.util.EntityDataUtils
-
Convert a single object to an entity data object (DOES NOT populate it), will preserve null (i.e. null in => null out)
- convertToEntityData(List<?>, EntityReference) - Static method in class org.sakaiproject.entitybroker.util.EntityDataUtils
-
Convert a list of objects to entity data objects (DOES NOT populate them), will preserve null (i.e. null in => null out)
- cookies - Variable in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- copy - Variable in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- copyBean(Object, Object, int, String[], boolean) - Method in class org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService
- createSocket(String, int) - Method in class org.sakaiproject.entitybroker.util.http.EasySSLProtocolSocketFactory
- createSocket(String, int, InetAddress, int) - Method in class org.sakaiproject.entitybroker.util.http.EasySSLProtocolSocketFactory
- createSocket(String, int, InetAddress, int, HttpConnectionParams) - Method in class org.sakaiproject.entitybroker.util.http.EasySSLProtocolSocketFactory
-
Attempts to get a new socket connection to the given host within the given time limit.
- createSocket(Socket, String, int, boolean) - Method in class org.sakaiproject.entitybroker.util.http.EasySSLProtocolSocketFactory
- CURRENT_USER_MARKER - Variable in class org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService
- currentUserRef - Static variable in class org.sakaiproject.entitybroker.util.devhelper.DeveloperHelperServiceMock
D
- decodeData(String, String) - Method in class org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService
- DEFAULT_PROTOCOL - Static variable in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
-
default protocol: HTTP/1.0
- DEFAULT_REMOTE_ADDR - Static variable in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
-
default remote address: 127.0.0.1
- DEFAULT_REMOTE_HOST - Static variable in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
-
The default remote host: 'localhost'.
- DEFAULT_SCHEMA - Static variable in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
-
default schema: http
- DEFAULT_SERVER_ADDR - Static variable in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
-
default server address: 127.0.0.1
- DEFAULT_SERVER_NAME - Static variable in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
-
default server name: localhost
- DEFAULT_SERVER_PORT - Static variable in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
-
default server port: 80
- DEFAULT_SERVER_PORT - Static variable in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- defaultEntityRef - Static variable in class org.sakaiproject.entitybroker.util.devhelper.DeveloperHelperServiceMock
- defaultLocationId - Static variable in class org.sakaiproject.entitybroker.util.devhelper.DeveloperHelperServiceMock
- defaultLocationRef - Static variable in class org.sakaiproject.entitybroker.util.devhelper.DeveloperHelperServiceMock
- defaultPermAllowed - Static variable in class org.sakaiproject.entitybroker.util.devhelper.DeveloperHelperServiceMock
- defaultPortalURL - Static variable in class org.sakaiproject.entitybroker.util.devhelper.DeveloperHelperServiceMock
- defaultServerURL - Static variable in class org.sakaiproject.entitybroker.util.devhelper.DeveloperHelperServiceMock
- defaultToolId - Static variable in class org.sakaiproject.entitybroker.util.devhelper.DeveloperHelperServiceMock
- defaultToolRef - Static variable in class org.sakaiproject.entitybroker.util.devhelper.DeveloperHelperServiceMock
- defaultUserEid - Static variable in class org.sakaiproject.entitybroker.util.devhelper.DeveloperHelperServiceMock
- defaultUserId - Static variable in class org.sakaiproject.entitybroker.util.devhelper.DeveloperHelperServiceMock
- defaultUserRef - Static variable in class org.sakaiproject.entitybroker.util.devhelper.DeveloperHelperServiceMock
- DELETE - org.sakaiproject.entitybroker.util.http.HttpRESTUtils.Method
- deserializeState(Serializable) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityHttpSession
-
Deserialize the attributes of this session from a state object created by
EntityHttpServletRequest.EntityHttpSession.serializeState(). - destroy() - Method in class org.sakaiproject.entitybroker.util.AbstractEntityProvider
- destroy() - Method in class org.sakaiproject.entitybroker.util.request.RequestGetterImpl
-
Cleanup on shutdown
- developerHelperService - Variable in class org.sakaiproject.entitybroker.util.AbstractEntityProvider
- DeveloperHelperServiceMock - Class in org.sakaiproject.entitybroker.util.devhelper
-
This is the Mock for the developer helper service, allows the service to always be available even when someone has not implemented it for the system that is using EB
- DeveloperHelperServiceMock() - Constructor for class org.sakaiproject.entitybroker.util.devhelper.DeveloperHelperServiceMock
- DirectServlet - Class in org.sakaiproject.entitybroker.util.servlet
-
This is the core abstract DirectServlet class which is meant to extended, extend this to plugin whatever system you have for initiating/retrieving the EB services and for handling logins
Direct servlet allows unfettered access to entity URLs within the EB system, it also can handle authentication (login) if required (without breaking an entity URL) - DirectServlet() - Constructor for class org.sakaiproject.entitybroker.util.servlet.DirectServlet
-
Default constructor
- DirectServlet(EntityRequestHandler) - Constructor for class org.sakaiproject.entitybroker.util.servlet.DirectServlet
-
Allow the request handler to be set on this servlet, probably best to only use this for testing
- dispatch(HttpServletRequest, HttpServletResponse) - Method in class org.sakaiproject.entitybroker.util.servlet.DirectServlet
-
handle all communication from the user not related to login
E
- EasySSLProtocolSocketFactory - Class in org.sakaiproject.entitybroker.util.http
-
EasySSLProtocolSocketFactory can be used to creats SSL
Sockets that accept self-signed certificates. - EasySSLProtocolSocketFactory() - Constructor for class org.sakaiproject.entitybroker.util.http.EasySSLProtocolSocketFactory
-
Constructor for EasySSLProtocolSocketFactory.
- EasyX509TrustManager - Class in org.sakaiproject.entitybroker.util.http
-
EasyX509TrustManager unlike default
X509TrustManageraccepts self-signed certificates. - EasyX509TrustManager(KeyStore) - Constructor for class org.sakaiproject.entitybroker.util.http.EasyX509TrustManager
-
Constructor for EasyX509TrustManager.
- encodeData(Object, String, String, Map<String, Object>) - Method in class org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService
- encodeDateHttp(Date) - Static method in class org.sakaiproject.entitybroker.util.http.HttpRESTUtils
-
Encode a date into an http date string
- encodeRedirectUrl(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- encodeRedirectURL(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
-
The default implementation delegates to
EntityHttpServletResponse.encodeURL(java.lang.String), returning the given URL String as-is. - encodeUrl(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- encodeURL(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
-
The default implementation returns the given URL String as-is.
- ENCODING_UTF8 - Static variable in class org.sakaiproject.entitybroker.util.http.HttpRESTUtils
- entityBroker - Variable in class org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService
- entityBrokerManager - Variable in class org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService
- EntityContent - Class in org.sakaiproject.entitybroker.util.model
- EntityContent() - Constructor for class org.sakaiproject.entitybroker.util.model.EntityContent
- EntityDataUtils - Class in org.sakaiproject.entitybroker.util
-
Utilities which are useful when working with
EntityDataobjects and their properties - EntityDataUtils() - Constructor for class org.sakaiproject.entitybroker.util.EntityDataUtils
- entityExists(String) - Method in class org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService
- EntityHttpServletRequest - Class in org.sakaiproject.entitybroker.util.http
-
Makes a copy of the data in a servlet request into a new request object
- EntityHttpServletRequest(String) - Constructor for class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
-
Create a request using the pathString
- EntityHttpServletRequest(String, String) - Constructor for class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
-
Create a request using the pathString and setting the method
- EntityHttpServletRequest(String, String, String...) - Constructor for class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
-
Create a request using the pathString and setting the method and params
- EntityHttpServletRequest(HttpServletRequest) - Constructor for class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
-
Create a new request from a given request
- EntityHttpServletRequest(HttpServletRequest, String) - Constructor for class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
-
Create a new request from a given request and modify it based on the path string
- EntityHttpServletRequest(HttpServletRequest, String, String) - Constructor for class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
-
Create a new request from a given request and modify it based on the path string and method
- EntityHttpServletRequest.EntityHttpSession - Class in org.sakaiproject.entitybroker.util.http
-
A fake session for testing, from the spring mock session
- EntityHttpServletRequest.EntityRequestDispatcher - Class in org.sakaiproject.entitybroker.util.http
-
A non-functional request dispatcher, based on the spring mock version
- EntityHttpServletRequest.EntityServletContext - Class in org.sakaiproject.entitybroker.util.http
-
For testing, based on the spring Mock version
- EntityHttpServletResponse - Class in org.sakaiproject.entitybroker.util.http
-
This is here to allow us to receive response data back which will not mess up an existing response object and to allow for mocking of responses, based on and built from the example in spring framework
- EntityHttpServletResponse() - Constructor for class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
-
Create a default response that is valid for testing
- EntityHttpServletResponse(HttpServletResponse) - Constructor for class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
-
Create a servlet response using the various values and codes stored in the given one, makes copies mostly
- EntityHttpSession() - Constructor for class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityHttpSession
-
Create a new MockHttpSession with a default
MockServletContext. - EntityHttpSession(ServletContext) - Constructor for class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityHttpSession
-
Create a new MockHttpSession.
- EntityHttpSession(ServletContext, String) - Constructor for class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityHttpSession
-
Create a new MockHttpSession.
- entityProperties - Variable in class org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService
- EntityPropertiesServiceSimple - Class in org.sakaiproject.entitybroker.util.core
-
This is a simple implementation of the properties loader service which uses standard java resource bundles
- EntityPropertiesServiceSimple() - Constructor for class org.sakaiproject.entitybroker.util.core.EntityPropertiesServiceSimple
- EntityPropertiesServiceSimple.ResourceBundleMessageSource - Class in org.sakaiproject.entitybroker.util.core
-
Message source based on the standard resource bundle
- EntityPropertiesServiceSpringImpl - Class in org.sakaiproject.entitybroker.util.spring
-
This service allows us to track all the properties files related to describing the capabilities of our entities and the entities themselves, it allows lookup of strings as well
NOTE: Depends on spring and extends the spring based message bundle - EntityPropertiesServiceSpringImpl() - Constructor for class org.sakaiproject.entitybroker.util.spring.EntityPropertiesServiceSpringImpl
- EntityPropertiesServiceSpringImpl.SpringMessageBundle - Class in org.sakaiproject.entitybroker.util.spring
- EntityProviderAutoRegistrar - Class in org.sakaiproject.entitybroker.util.spring
-
Finds and registers any
EntityProviderimplementation which also implementsAutoRegisterEntityProvider - EntityProviderAutoRegistrar() - Constructor for class org.sakaiproject.entitybroker.util.spring.EntityProviderAutoRegistrar
- EntityProviderAutoRegistrar(EntityProviderManager) - Constructor for class org.sakaiproject.entitybroker.util.spring.EntityProviderAutoRegistrar
-
Construct the auto-registrar which will search the spring app context and will register all entity providers found in it which implement
AutoRegisterEntityProvider - EntityProviderMethodStoreImpl - Class in org.sakaiproject.entitybroker.util.core
-
This stores the various methods used to track different methods allowed for providers and also tracks the various methods in the registry
- EntityProviderMethodStoreImpl() - Constructor for class org.sakaiproject.entitybroker.util.core.EntityProviderMethodStoreImpl
-
Full constructor
- EntityRequestDispatcher(String) - Constructor for class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityRequestDispatcher
-
Create a new EntityRequestDispatcher
- entityRequestHandler - Variable in class org.sakaiproject.entitybroker.util.servlet.DirectServlet
- entityRESTProviderWeak - Variable in class org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService
- EntityServletContext() - Constructor for class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityServletContext
-
Create a new MockServletContext, using no base path and a DefaultResourceLoader (i.e. the classpath root as WAR root).
- EntityServletContext(String) - Constructor for class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityServletContext
-
Create a new MockServletContext, using a DefaultResourceLoader.
- EntityServletInputStream - Class in org.sakaiproject.entitybroker.util.http
-
This is a class which allows us to produce and control
ServletInputStreams, normally there is no default implementation available for these for some stupid reason - EntityServletInputStream(InputStream) - Constructor for class org.sakaiproject.entitybroker.util.http.EntityServletInputStream
-
Creates the SIS from an existing inputstream
- EntityServletInputStream(Reader) - Constructor for class org.sakaiproject.entitybroker.util.http.EntityServletInputStream
-
Creates the SIS from any existing reader, note that this is not very efficient as it has to load the full reader into memory
- EntityServletInputStream(String) - Constructor for class org.sakaiproject.entitybroker.util.http.EntityServletInputStream
-
Creates the SIS from an existing string
- EntityServletOutputStream - Class in org.sakaiproject.entitybroker.util.http
-
This allows us to produce and control
ServletOutputStreams, normally there is not a default implementation available for these for some crazed reason - EntityServletOutputStream() - Constructor for class org.sakaiproject.entitybroker.util.http.EntityServletOutputStream
-
Create a SOS with a default BOS as the storage mechanism for it
- EntityServletOutputStream(OutputStream) - Constructor for class org.sakaiproject.entitybroker.util.http.EntityServletOutputStream
-
Create the SOS from an existing outputstream
- EntityServletOutputStream(Writer) - Constructor for class org.sakaiproject.entitybroker.util.http.EntityServletOutputStream
-
Creates the SOS from an existing writer
- EntityServletOutputStream.WriterOutputStream - Class in org.sakaiproject.entitybroker.util.http
-
Wrap a Writer as an OutputStream.
- EntityViewAccessProviderManagerImpl - Class in org.sakaiproject.entitybroker.util.access
-
Implementation for managing EntityView providers
- EntityViewAccessProviderManagerImpl() - Constructor for class org.sakaiproject.entitybroker.util.access.EntityViewAccessProviderManagerImpl
- EntryComparator() - Constructor for class org.sakaiproject.entitybroker.util.request.RequestStorageImpl.EntryComparator
- environmentPathVariable - Static variable in class org.sakaiproject.entitybroker.util.spring.ResourceFinder
- equals(Object) - Method in class org.sakaiproject.entitybroker.util.http.EasySSLProtocolSocketFactory
- equals(Object) - Method in class org.sakaiproject.entitybroker.util.http.EntityServletInputStream
- equals(Object) - Method in class org.sakaiproject.entitybroker.util.http.EntityServletOutputStream
- equals(Object) - Method in class org.sakaiproject.entitybroker.util.http.LazyRequestInputStream
- equals(Object) - Method in class org.sakaiproject.entitybroker.util.http.LazyResponseOutputStream
- extension - Variable in class org.sakaiproject.entitybroker.util.http.URLData
- extensionsToFormat - Static variable in class org.sakaiproject.entitybroker.util.request.RequestUtils
-
A map from extensions to format constants
- ExternalIntegrationProviderMock - Class in org.sakaiproject.entitybroker.util.external
-
A mock which provides a placeholder class to handle external integration
- ExternalIntegrationProviderMock() - Constructor for class org.sakaiproject.entitybroker.util.external.ExternalIntegrationProviderMock
- extractMapProperties(Map) - Static method in class org.sakaiproject.entitybroker.util.EntityDataUtils
-
Get the values from a map and convert them to strings, nulls pass through
F
- fetchEntity(String) - Method in class org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService
- fetchEntity(String) - Method in class org.sakaiproject.entitybroker.util.external.ExternalIntegrationProviderMock
- findAndHandleFormat(HttpServletRequest, HttpServletResponse, String) - Static method in class org.sakaiproject.entitybroker.util.request.RequestUtils
-
This method will correctly extract the format constant from a request (extension first and then Accepts header) and then set it in the response as the correct return type, if none is found then the default will be used
- findCustomActions(EntityProvider, boolean) - Method in class org.sakaiproject.entitybroker.util.core.EntityProviderMethodStoreImpl
- findMapStringValue(Map<String, ?>, String[]) - Static method in class org.sakaiproject.entitybroker.util.EntityDataUtils
-
Finds a map value for a key (or set of keys) if it exists in the map and returns the string value of it
- findMapValue(Map<String, ?>, String[]) - Static method in class org.sakaiproject.entitybroker.util.EntityDataUtils
-
Finds a map value for a key (or set of keys) if it exists in the map and returns the value of it
- findSearchRestriction(Search, String, String[], String) - Static method in class org.sakaiproject.entitybroker.util.EntityDataUtils
-
Finds if there are any search restrictions with the given properties, if so it returns the Restriction, the value will have the given prefix appended to it's string value if it does not have it, the returned restriction will have the key set to the input key, otherwise returns null
- findService(Class<T>) - Method in class org.sakaiproject.entitybroker.util.external.ExternalIntegrationProviderMock
- findURLRedirectMethods(EntityProvider) - Method in class org.sakaiproject.entitybroker.util.core.EntityProviderMethodStoreImpl
- fireEvent(String, String) - Method in class org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService
- fireEvent(String, String) - Method in class org.sakaiproject.entitybroker.util.external.ExternalIntegrationProviderMock
- fireRequest(String, HttpRESTUtils.Method) - Static method in class org.sakaiproject.entitybroker.util.http.HttpRESTUtils
-
Fire off a request to a URL using the specified method, include optional params and data in the request, the response data will be returned in the object if the request can be carried out
- fireRequest(String, HttpRESTUtils.Method, Map<String, String>) - Static method in class org.sakaiproject.entitybroker.util.http.HttpRESTUtils
-
Fire off a request to a URL using the specified method, include optional params and data in the request, the response data will be returned in the object if the request can be carried out
- fireRequest(String, HttpRESTUtils.Method, Map<String, String>, Object, boolean) - Static method in class org.sakaiproject.entitybroker.util.http.HttpRESTUtils
-
Fire off a request to a URL using the specified method, include optional params and data in the request, the response data will be returned in the object if the request can be carried out
- fireRequest(String, HttpRESTUtils.Method, Map<String, String>, Map<String, String>, Object, boolean) - Static method in class org.sakaiproject.entitybroker.util.http.HttpRESTUtils
-
Fire off a request to a URL using the specified method, include optional params, headers, and data in the request, the response data will be returned in the object if the request can be carried out
- fireRequest(HttpClientWrapper, String, HttpRESTUtils.Method, Map<String, String>, Object, boolean) - Static method in class org.sakaiproject.entitybroker.util.http.HttpRESTUtils
-
Fire off a request to a URL using the specified method but reuse the client for efficiency, include optional params and data in the request, the response data will be returned in the object if the request can be carried out
- fireRequest(HttpClientWrapper, String, HttpRESTUtils.Method, Map<String, String>, Map<String, String>, Object, boolean) - Static method in class org.sakaiproject.entitybroker.util.http.HttpRESTUtils
-
Fire off a request to a URL using the specified method but reuse the client for efficiency, include optional params and data in the request, the response data will be returned in the object if the request can be carried out
- flush() - Method in class org.sakaiproject.entitybroker.util.http.EntityServletOutputStream
- flush() - Method in class org.sakaiproject.entitybroker.util.http.EntityServletOutputStream.WriterOutputStream
- flush() - Method in class org.sakaiproject.entitybroker.util.http.LazyResponseOutputStream
- flushBuffer() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- formatToMimeType - Static variable in class org.sakaiproject.entitybroker.util.request.RequestUtils
-
A map from format constants to mimetypes
- forward(ServletRequest, ServletResponse) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityRequestDispatcher
G
- GET - org.sakaiproject.entitybroker.util.http.HttpRESTUtils.Method
- getAcceptedIssuers() - Method in class org.sakaiproject.entitybroker.util.http.EasyX509TrustManager
- getActualHeaders() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
-
Get all headers in this response
- getAllRequestValues() - Method in class org.sakaiproject.entitybroker.util.request.RequestStorageImpl
- getAttribute(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityHttpSession
- getAttribute(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityServletContext
- getAttribute(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getAttributeNames() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityHttpSession
- getAttributeNames() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityServletContext
- getAttributeNames() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getAuthType() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getBufferSize() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- getCharacterEncoding() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getCharacterEncoding() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- getConfigurationSetting(String, T) - Method in class org.sakaiproject.entitybroker.util.devhelper.DeveloperHelperServiceMock
- getConfigurationSetting(String, T) - Method in class org.sakaiproject.entitybroker.util.external.ExternalIntegrationProviderMock
- getContainerHome() - Static method in class org.sakaiproject.entitybroker.util.spring.ResourceFinder
- getContent() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
-
Gets the content data out of the request, ensures that the data can be retrieved somehow
- getContentAsByteArray() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- getContentAsString() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- getContentLength() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getContentLength() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- getContentType() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getContentType() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- getContext(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityServletContext
- getContextPath() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityServletContext
- getContextPath() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getCookie(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- getCookies() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getCookies() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- getCreated() - Method in class org.sakaiproject.entitybroker.util.model.EntityContent
- getCreationTime() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityHttpSession
- getCreator() - Method in class org.sakaiproject.entitybroker.util.model.EntityContent
- getCurrentLocale() - Method in class org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService
- getCurrentLocationId() - Method in class org.sakaiproject.entitybroker.util.devhelper.DeveloperHelperServiceMock
- getCurrentLocationReference() - Method in class org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService
- getCurrentLocationReference() - Method in class org.sakaiproject.entitybroker.util.devhelper.DeveloperHelperServiceMock
- getCurrentLoggedInUserId() - Method in class org.sakaiproject.entitybroker.util.servlet.DirectServlet
-
This should return the userId for the currently logged in user if there is one, if not user is logged in then this should return null
- getCurrentToolReference() - Method in class org.sakaiproject.entitybroker.util.devhelper.DeveloperHelperServiceMock
- getCurrentUserId() - Method in class org.sakaiproject.entitybroker.util.devhelper.DeveloperHelperServiceMock
- getCurrentUserReference() - Method in class org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService
- getCurrentUserReference() - Method in class org.sakaiproject.entitybroker.util.devhelper.DeveloperHelperServiceMock
- getCustomAction(String, String) - Method in class org.sakaiproject.entitybroker.util.core.EntityProviderMethodStoreImpl
- getCustomActions(String) - Method in class org.sakaiproject.entitybroker.util.core.EntityProviderMethodStoreImpl
- getDateHeader(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getDescription() - Method in class org.sakaiproject.entitybroker.util.model.EntityContent
- getEntityHttpServletResponse(ServletResponse) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityRequestDispatcher
- getEntityId(Object) - Static method in class org.sakaiproject.entitybroker.util.EntityDataUtils
-
Gets the id field value from an entity if possible
- getEntityIdField(Class<?>) - Static method in class org.sakaiproject.entitybroker.util.EntityDataUtils
-
Gets the fieldname of the identifier field for an entity class type
- getEntityReferencesForUserAndPermission(String, String) - Method in class org.sakaiproject.entitybroker.util.devhelper.DeveloperHelperServiceMock
- getEntityRESTProvider() - Method in class org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService
- getEntityURL(String, String, String) - Method in class org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService
- getEnvironmentPath() - Static method in class org.sakaiproject.entitybroker.util.spring.ResourceFinder
- getErrorMessage() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- getFile(String) - Static method in class org.sakaiproject.entitybroker.util.spring.ResourceFinder
- getFiles(List<String>) - Static method in class org.sakaiproject.entitybroker.util.spring.ResourceFinder
- getForwardedUrl() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- getHeader(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getHeader(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
-
Return the primary value for the given header, if any, Will return the first value in case of multiple values
- getHeaderNames() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getHeaderNames() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
-
Return the names of all specified headers as a Set of Strings.
- getHeaders() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
-
Get all headers in this response as a map of string (name) -> String[] (values)
- getHeaders(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getHeaders(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
-
Return the primary value for the given header, if any, Will return the first value in case of multiple values
- getHidden() - Method in class org.sakaiproject.entitybroker.util.model.EntityContent
- getHttpClient() - Method in class org.sakaiproject.entitybroker.util.http.HttpClientWrapper
- getId() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityHttpSession
- getIncludedUrl() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- getInitParameter(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityServletContext
- getInitParameterNames() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityServletContext
- getInputStream() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getInputStream(String) - Static method in class org.sakaiproject.entitybroker.util.spring.ResourceFinder
- getInputStreams(List<String>) - Static method in class org.sakaiproject.entitybroker.util.spring.ResourceFinder
- getInternalMap() - Method in class org.sakaiproject.entitybroker.util.request.RequestStorageImpl
- getIntHeader(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getLastAccessedTime() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityHttpSession
- getLocalAddr() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getLocale() - Method in class org.sakaiproject.entitybroker.util.core.AbstractEntityPropertiesService
- getLocale() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getLocale() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- getLocales() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getLocalName() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getLocalPort() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getLocationIdFromRef(String) - Method in class org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService
- getLocationReferenceURL(String) - Method in class org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService
- getMajorVersion() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityServletContext
- getMaxInactiveInterval() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityHttpSession
- getMaxJSONLevel() - Method in class org.sakaiproject.entitybroker.util.external.ExternalIntegrationProviderMock
- getMessage(String, String) - Method in class org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService
- getMethod() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getMimeType() - Method in class org.sakaiproject.entitybroker.util.model.EntityContent
- getMimeType(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityServletContext
- getMinorVersion() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityServletContext
- getModified() - Method in class org.sakaiproject.entitybroker.util.model.EntityContent
- getModifiedBy() - Method in class org.sakaiproject.entitybroker.util.model.EntityContent
- getName() - Method in class org.sakaiproject.entitybroker.util.model.EntityContent
- getNamedDispatcher(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityServletContext
- getOutputStream() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- getParameter(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getParameterMap() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getParameterNames() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getParameters() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getParameterValues(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getPathInfo() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getPathTranslated() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getPortalURL() - Method in class org.sakaiproject.entitybroker.util.devhelper.DeveloperHelperServiceMock
- getPriority() - Method in class org.sakaiproject.entitybroker.util.model.EntityContent
- getProperties() - Method in class org.sakaiproject.entitybroker.util.model.EntityContent
- getProperty(String, String) - Method in class org.sakaiproject.entitybroker.util.core.AbstractEntityPropertiesService
- getProperty(String, String, Locale) - Method in class org.sakaiproject.entitybroker.util.core.AbstractEntityPropertiesService
- getProperty(String, String, Locale, String) - Method in class org.sakaiproject.entitybroker.util.core.AbstractEntityPropertiesService
- getPropertyKeys(Locale) - Method in interface org.sakaiproject.entitybroker.util.core.AbstractEntityPropertiesService.MessageBundle
-
Get all the keys for a specific Locale
- getPropertyKeys(Locale) - Method in class org.sakaiproject.entitybroker.util.core.EntityPropertiesServiceSimple.ResourceBundleMessageSource
- getPropertyKeys(Locale) - Method in class org.sakaiproject.entitybroker.util.spring.EntityPropertiesServiceSpringImpl.SpringMessageBundle
- getPropertyMessage(String, Object[], Locale) - Method in interface org.sakaiproject.entitybroker.util.core.AbstractEntityPropertiesService.MessageBundle
-
Try to resolve the message.
- getPropertyMessage(String, Object[], Locale) - Method in class org.sakaiproject.entitybroker.util.core.EntityPropertiesServiceSimple.ResourceBundleMessageSource
- getPropertyMessage(String, Object[], Locale) - Method in class org.sakaiproject.entitybroker.util.spring.EntityPropertiesServiceSpringImpl.SpringMessageBundle
- getProtocol() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getProvider(String) - Method in class org.sakaiproject.entitybroker.util.access.AccessProviderManagerImpl
- getQueryString() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getReader() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getRealPath(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityServletContext
- getRealPath(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getRedirectedUrl() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- getReference() - Method in class org.sakaiproject.entitybroker.util.model.EntityContent
- getRelativePath() - Static method in class org.sakaiproject.entitybroker.util.spring.ResourceFinder
- getRelease() - Method in class org.sakaiproject.entitybroker.util.model.EntityContent
- getRemoteAddr() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getRemoteHost() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getRemotePort() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getRemoteUser() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getRequest() - Method in class org.sakaiproject.entitybroker.util.request.RequestGetterImpl
- getRequestDispatcher(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityServletContext
- getRequestDispatcher(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getRequestedSessionId() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getRequestURI() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getRequestURL() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getRequestValue(String) - Method in class org.sakaiproject.entitybroker.util.request.RequestStorageImpl
- getRequestValues(boolean, boolean, boolean) - Method in class org.sakaiproject.entitybroker.util.request.RequestStorageImpl
- getRequestValues(HttpServletRequest, boolean, boolean, boolean) - Static method in class org.sakaiproject.entitybroker.util.request.RequestStorageImpl
- getResource(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityServletContext
- getResource(String) - Static method in class org.sakaiproject.entitybroker.util.spring.ResourceFinder
-
Resolve a path into a resource relative to environmental defaults or relative paths or the classloader
- getResourceAsStream(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityServletContext
- getResourceChildren() - Method in class org.sakaiproject.entitybroker.util.model.EntityContent
- getResourceDetails(ContentEntity) - Static method in class org.sakaiproject.entitybroker.util.EntityDataUtils
-
Produces a summary of an content entity for display in entitybroker.
- getResourceFile(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityServletContext
- getResourceId() - Method in class org.sakaiproject.entitybroker.util.model.EntityContent
- getResourceLocation(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityServletContext
-
Build a full resource location for the given path, prepending the resource base path of this MockServletContext.
- getResourcePaths(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityServletContext
- getResources(List<String>) - Static method in class org.sakaiproject.entitybroker.util.spring.ResourceFinder
-
Resolves a list of paths into resources relative to environmental defaults or relative paths or the classloader
- getResponse() - Method in class org.sakaiproject.entitybroker.util.request.RequestGetterImpl
- getResponseBody() - Method in class org.sakaiproject.entitybroker.util.http.HttpResponse
- getResponseCode() - Method in class org.sakaiproject.entitybroker.util.http.HttpResponse
- getResponseHeaders() - Method in class org.sakaiproject.entitybroker.util.http.HttpResponse
- getResponseMessage() - Method in class org.sakaiproject.entitybroker.util.http.HttpResponse
- getRetract() - Method in class org.sakaiproject.entitybroker.util.model.EntityContent
- getScheme() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getServerInfo() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityServletContext
- getServerName() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getServerPort() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getServerUrl() - Method in class org.sakaiproject.entitybroker.util.external.ExternalIntegrationProviderMock
- getServerURL() - Method in class org.sakaiproject.entitybroker.util.devhelper.DeveloperHelperServiceMock
- getServlet(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityServletContext
- getServletContext() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityHttpSession
- getServletContext(HttpServletRequest) - Static method in class org.sakaiproject.entitybroker.util.request.RequestUtils
-
This finds the correct servlet path or returns the default one, will not return "" or null
- getServletContextName() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityServletContext
- getServletNames() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityServletContext
- getServletPath() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getServlets() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityServletContext
- getSession() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getSession(boolean) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getSessionContext() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityHttpSession
- getSize() - Method in class org.sakaiproject.entitybroker.util.model.EntityContent
- getStartingLocationReference() - Method in class org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService
- getStatus() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- getStorageMapCopy() - Method in class org.sakaiproject.entitybroker.util.request.RequestStorageImpl
- getStorageMapCopy(boolean, boolean, boolean, boolean) - Method in class org.sakaiproject.entitybroker.util.request.RequestStorageImpl
-
Special version which allows getting only the parts that are desired
- getStoredValue(String) - Method in class org.sakaiproject.entitybroker.util.request.RequestStorageImpl
- getStoredValueAsType(Class<T>, String) - Method in class org.sakaiproject.entitybroker.util.request.RequestStorageImpl
- getStringParameters() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getToolData(String, String) - Method in class org.sakaiproject.entitybroker.util.devhelper.DeveloperHelperServiceMock
- getToolIdFromToolRef(String) - Method in class org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService
- getToolViewURL(String, String, Map<String, String>, String) - Method in class org.sakaiproject.entitybroker.util.devhelper.DeveloperHelperServiceMock
- getType() - Method in class org.sakaiproject.entitybroker.util.model.EntityContent
- getUrl() - Method in class org.sakaiproject.entitybroker.util.model.EntityContent
- getURLRedirects(String) - Method in class org.sakaiproject.entitybroker.util.core.EntityProviderMethodStoreImpl
- getUserHomeLocationReference(String) - Method in class org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService
- getUserHomeLocationURL(String) - Method in class org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService
- getUserIdFromRef(String) - Method in class org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService
- getUserPrincipal() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- getUserReferencesForEntityReference(String, String) - Method in class org.sakaiproject.entitybroker.util.devhelper.DeveloperHelperServiceMock
- getUserRefFromUserEid(String) - Method in class org.sakaiproject.entitybroker.util.devhelper.DeveloperHelperServiceMock
- getUserRefFromUserId(String) - Method in class org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService
- getValue(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityHttpSession
- getValueNames() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityHttpSession
- getWriter() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- GROUP_BASE - Static variable in class org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService
-
The site reference base
H
- handleEntityError(HttpServletRequest, Throwable) - Method in class org.sakaiproject.entitybroker.util.external.ExternalIntegrationProviderMock
- handleRequest(HttpServletRequest, HttpServletResponse) - Method in class org.sakaiproject.entitybroker.util.servlet.DirectServlet
-
Handle the incoming request (get and post handled in the same way), passes control to the dispatch method or calls the login helper, override this to control it
- handleRequestData(EntityEnclosingMethod, Object) - Static method in class org.sakaiproject.entitybroker.util.http.HttpRESTUtils
- handleURLRedirect(String, boolean, HttpServletRequest, HttpServletResponse) - Static method in class org.sakaiproject.entitybroker.util.request.RequestUtils
-
Handles the redirect to a URL from the current location, the URL should be relative for a forward, otherwise it will be a redirect
NOTE: You should perform no actions after call this method, you should simply pass control back to the handler - handleUserLogin(HttpServletRequest, HttpServletResponse, String) - Method in class org.sakaiproject.entitybroker.util.servlet.DirectServlet
-
Handle the user authentication (login) in a system specific way, by default this will simply fail as entity-broker has no way to authenticate
- handleUserSessionKey(HttpServletRequest) - Method in class org.sakaiproject.entitybroker.util.external.ExternalIntegrationProviderMock
- hashCode() - Method in class org.sakaiproject.entitybroker.util.http.EasySSLProtocolSocketFactory
- hashCode() - Method in class org.sakaiproject.entitybroker.util.http.EntityServletInputStream
- hashCode() - Method in class org.sakaiproject.entitybroker.util.http.EntityServletOutputStream
- hashCode() - Method in class org.sakaiproject.entitybroker.util.http.LazyRequestInputStream
- hashCode() - Method in class org.sakaiproject.entitybroker.util.http.LazyResponseOutputStream
- HEAD - org.sakaiproject.entitybroker.util.http.HttpRESTUtils.Method
- headers - Variable in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- HttpClientWrapper - Class in org.sakaiproject.entitybroker.util.http
-
Allows us to cleanly wrap an httpclient object without exposing the actual object class
- HttpClientWrapper(HttpClient, MultiThreadedHttpConnectionManager, HttpState) - Constructor for class org.sakaiproject.entitybroker.util.http.HttpClientWrapper
-
This is meant for system use so you should not be constructing this, use the
HttpRESTUtils.makeReusableHttpClient(boolean, int, javax.servlet.http.Cookie[])instead - HttpIOException(String, Throwable) - Constructor for exception org.sakaiproject.entitybroker.util.http.HttpRESTUtils.HttpIOException
- HttpRequestException(String) - Constructor for exception org.sakaiproject.entitybroker.util.http.HttpRESTUtils.HttpRequestException
- HttpRequestException(String, Throwable) - Constructor for exception org.sakaiproject.entitybroker.util.http.HttpRESTUtils.HttpRequestException
- HttpResponse - Class in org.sakaiproject.entitybroker.util.http
-
This is here to contain the information we get back from an http request fired by the methods in
HttpRESTUtils - HttpResponse(int) - Constructor for class org.sakaiproject.entitybroker.util.http.HttpResponse
- HttpResponse(int, String, String, Map<String, String[]>) - Constructor for class org.sakaiproject.entitybroker.util.http.HttpResponse
- HttpRESTUtils - Class in org.sakaiproject.entitybroker.util.http
-
Utilities for generating and processing http requests, allows the developer to fire off a request and get back information about the response
All encoding is automatically UTF-8 - HttpRESTUtils() - Constructor for class org.sakaiproject.entitybroker.util.http.HttpRESTUtils
- HttpRESTUtils.HttpIOException - Exception in org.sakaiproject.entitybroker.util.http
-
Indicates an IO failure
- HttpRESTUtils.HttpRequestException - Exception in org.sakaiproject.entitybroker.util.http
-
Indicates a general failure
- HttpRESTUtils.Method - Enum in org.sakaiproject.entitybroker.util.http
- HttpServletAccessProviderManagerImpl - Class in org.sakaiproject.entitybroker.util.access
-
A simple implementation of the
HttpServletAccessProviderManagerusing weak references. - HttpServletAccessProviderManagerImpl() - Constructor for class org.sakaiproject.entitybroker.util.access.HttpServletAccessProviderManagerImpl
I
- ignoreForSearch - Static variable in class org.sakaiproject.entitybroker.util.request.RequestUtils
- include(ServletRequest, ServletResponse) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityRequestDispatcher
- init() - Method in class org.sakaiproject.entitybroker.util.servlet.DirectServlet
- init() - Method in class org.sakaiproject.entitybroker.util.spring.BeanCollectorAutoRegistrar
- init() - Method in class org.sakaiproject.entitybroker.util.spring.EntityProviderAutoRegistrar
- initialize() - Method in class org.sakaiproject.entitybroker.util.servlet.DirectServlet
-
Initializes the servlet, executed automatically by the servlet container
This basically just calls theDirectServlet.initializeEntityRequestHandler()method and throws exceptions if something is missing - initializeEntityRequestHandler() - Method in class org.sakaiproject.entitybroker.util.servlet.DirectServlet
-
This runs on servlet initialization (it is the first thing to run) This must be implemented to provide the entity request handler itself
This needs to at least load up the entityRequestHandler service (from the entity broker core) in order for things to work, if that service is not loaded then nothing will work, this can be done using a service manager of some kind or by loading it up manually, the default is to create and load it manually by calling this method with the service
Can also call the servlet constructor to set this value but that is really for testing - inRequest() - Method in class org.sakaiproject.entitybroker.util.request.RequestStorageImpl
- invalidate() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityHttpSession
- isCommitted() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- isEntityRequestInternal(String) - Method in class org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService
-
Checks to see if a request is internal and therefore can bypass some or all security
- isInvalid() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityHttpSession
- isNew() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityHttpSession
- isOutputStreamAccessAllowed() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
-
Return whether
EntityHttpServletResponse.getOutputStream()access is allowed. - isRedirected() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- isRequestedSessionIdFromCookie() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- isRequestedSessionIdFromUrl() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- isRequestedSessionIdFromURL() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- isRequestedSessionIdValid() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- isRequestOutput(HttpServletRequest, EntityView) - Static method in class org.sakaiproject.entitybroker.util.request.RequestUtils
-
Gets the correct info out of the request method and places it into the entity view and identifies if this is an output (read) or input (write) request
- isSecure() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- isUserAdmin(String) - Method in class org.sakaiproject.entitybroker.util.devhelper.DeveloperHelperServiceMock
- isUserAllowedInEntityReference(String, String, String) - Method in class org.sakaiproject.entitybroker.util.devhelper.DeveloperHelperServiceMock
- isUserInRole(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- isWriterAccessAllowed() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
-
Return whether
EntityHttpServletResponse.getOutputStream()access is allowed.
L
- lastCurrentUser - Static variable in class org.sakaiproject.entitybroker.util.devhelper.DeveloperHelperServiceMock
- LazyRequestInputStream - Class in org.sakaiproject.entitybroker.util.http
-
This provides lazy access to the
ServletInputStreamdata in a request, this avoids issues with attempting to read data which was is later requested from the reader since it will not actually do any reads using theServletInputStreambut still can pretend to - LazyRequestInputStream(HttpServletRequest) - Constructor for class org.sakaiproject.entitybroker.util.http.LazyRequestInputStream
-
Construct a new lazy inputstream from the given request
- LazyResponseOutputStream - Class in org.sakaiproject.entitybroker.util.http
-
This will get the response to get an outputstream from but will not actually get it from the response until someone attempts to use the outputstream
This is horrible but required because of the way Sakai tool forwarding works - LazyResponseOutputStream(HttpServletResponse) - Constructor for class org.sakaiproject.entitybroker.util.http.LazyResponseOutputStream
- loadProperties(String, String, ClassLoader) - Method in class org.sakaiproject.entitybroker.util.core.AbstractEntityPropertiesService
- log(Exception, String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityServletContext
- log(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityServletContext
- log(String, Throwable) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityServletContext
M
- makeEntityData(EntityReference, Object) - Static method in class org.sakaiproject.entitybroker.util.EntityDataUtils
-
Make an entity data object out of whatever entity is given, use the given reference, if there is no id then this will attempt to get one otherwise it will use prefix only
- makeMethodFromString(String) - Static method in class org.sakaiproject.entitybroker.util.http.HttpRESTUtils
-
Turns a method string ("get") into a
HttpRESTUtils.Methodenum object - makeReusableHttpClient(boolean, int, Cookie[]) - Static method in class org.sakaiproject.entitybroker.util.http.HttpRESTUtils
-
Generates a reusable http client wrapper which can be given to
HttpRESTUtils.fireRequest(HttpClientWrapper, String, Method, Map, Object, boolean)as an efficiency mechanism - makeSearchFromRequestParams(Map<String, Object>) - Static method in class org.sakaiproject.entitybroker.util.request.RequestUtils
-
This looks at request parameters and returns anything it finds in the request parameters that can be put into the search, supports the page params and sorting params
- mark(int) - Method in class org.sakaiproject.entitybroker.util.http.EntityServletInputStream
- mark(int) - Method in class org.sakaiproject.entitybroker.util.http.LazyRequestInputStream
- markSupported() - Method in class org.sakaiproject.entitybroker.util.http.EntityServletInputStream
- markSupported() - Method in class org.sakaiproject.entitybroker.util.http.LazyRequestInputStream
- MAX_RESPONSE_SIZE_CHARS - Static variable in class org.sakaiproject.entitybroker.util.http.HttpRESTUtils
- mergeQueryStringWithParams(String, Map<String, String>) - Static method in class org.sakaiproject.entitybroker.util.http.HttpRESTUtils
-
Merges an existing queryString with a set of params to create one queryString, this basically just adds the params to the end of the existing query string and will not insert a "?"
- mimeTypeToFormat - Static variable in class org.sakaiproject.entitybroker.util.request.RequestUtils
-
A map from mimetypes to format constants
O
- onApplicationEvent(ApplicationEvent) - Method in class org.sakaiproject.entitybroker.util.spring.BeanCollectorAutoRegistrar
- OPTIONS - org.sakaiproject.entitybroker.util.http.HttpRESTUtils.Method
- OrderComparator() - Constructor for class org.sakaiproject.entitybroker.util.spring.BeanCollectorAutoRegistrar.OrderComparator
- org.sakaiproject.entitybroker.util - package org.sakaiproject.entitybroker.util
- org.sakaiproject.entitybroker.util.access - package org.sakaiproject.entitybroker.util.access
- org.sakaiproject.entitybroker.util.core - package org.sakaiproject.entitybroker.util.core
- org.sakaiproject.entitybroker.util.devhelper - package org.sakaiproject.entitybroker.util.devhelper
- org.sakaiproject.entitybroker.util.external - package org.sakaiproject.entitybroker.util.external
- org.sakaiproject.entitybroker.util.http - package org.sakaiproject.entitybroker.util.http
- org.sakaiproject.entitybroker.util.model - package org.sakaiproject.entitybroker.util.model
- org.sakaiproject.entitybroker.util.request - package org.sakaiproject.entitybroker.util.request
- org.sakaiproject.entitybroker.util.servlet - package org.sakaiproject.entitybroker.util.servlet
- org.sakaiproject.entitybroker.util.spring - package org.sakaiproject.entitybroker.util.spring
- originalURL - Variable in class org.sakaiproject.entitybroker.util.http.URLData
P
- parseURL(String) - Static method in class org.sakaiproject.entitybroker.util.http.HttpRESTUtils
-
Parses a url string into component pieces, unlike the java URL class, this will work with partial urls
- parseURLintoParams(String) - Static method in class org.sakaiproject.entitybroker.util.http.HttpRESTUtils
-
Get the query parameters out of a query string and return them as a map, this can be
- path - Variable in class org.sakaiproject.entitybroker.util.http.URLData
- pathInfo - Variable in class org.sakaiproject.entitybroker.util.http.URLData
- pathInfoNoExtension - Variable in class org.sakaiproject.entitybroker.util.http.URLData
- pathQueryParams - Variable in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
-
This stores all the query params found when the request was created
- populate(Object, Map<String, Object>) - Method in class org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService
- port - Variable in class org.sakaiproject.entitybroker.util.http.URLData
- POST - org.sakaiproject.entitybroker.util.http.HttpRESTUtils.Method
- prefixMap - Variable in class org.sakaiproject.entitybroker.util.core.AbstractEntityPropertiesService
- protocol - Variable in class org.sakaiproject.entitybroker.util.http.URLData
- PUT - org.sakaiproject.entitybroker.util.http.HttpRESTUtils.Method
- putAllNewInMap(Map<T, S>, Map<T, S>) - Static method in class org.sakaiproject.entitybroker.util.EntityDataUtils
-
Puts the values of 2 maps together such that the values from the newStuff map are added to the original map only if they are not already in the the original
- putValue(String, Object) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityHttpSession
Q
R
- read() - Method in class org.sakaiproject.entitybroker.util.http.EntityServletInputStream
- read() - Method in class org.sakaiproject.entitybroker.util.http.LazyRequestInputStream
- read(byte[]) - Method in class org.sakaiproject.entitybroker.util.http.EntityServletInputStream
- read(byte[]) - Method in class org.sakaiproject.entitybroker.util.http.LazyRequestInputStream
- read(byte[], int, int) - Method in class org.sakaiproject.entitybroker.util.http.EntityServletInputStream
- read(byte[], int, int) - Method in class org.sakaiproject.entitybroker.util.http.LazyRequestInputStream
- readLine(byte[], int, int) - Method in class org.sakaiproject.entitybroker.util.http.LazyRequestInputStream
- registerContext(String, ServletContext) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityServletContext
- registeredPerms - Static variable in class org.sakaiproject.entitybroker.util.devhelper.DeveloperHelperServiceMock
- registerLocaleMessages(String, String, Locale, ClassLoader) - Method in class org.sakaiproject.entitybroker.util.core.AbstractEntityPropertiesService
-
Override this to provide custom message handling, you must register the
AbstractEntityPropertiesService.MessageBundleyou create in this method so that the messages can be looked up later, register usingAbstractEntityPropertiesService.registerPrefixMessageBundle(String, MessageBundle) - registerLocaleMessages(String, String, Locale, ClassLoader) - Method in class org.sakaiproject.entitybroker.util.core.EntityPropertiesServiceSimple
- registerLocaleMessages(String, String, Locale, ClassLoader) - Method in class org.sakaiproject.entitybroker.util.spring.EntityPropertiesServiceSpringImpl
- registerPermission(String) - Method in class org.sakaiproject.entitybroker.util.devhelper.DeveloperHelperServiceMock
- registerPrefixMessageBundle(String, AbstractEntityPropertiesService.MessageBundle) - Method in class org.sakaiproject.entitybroker.util.core.AbstractEntityPropertiesService
-
Register this message bundle with the internal storage
- registerProvider(String, T) - Method in class org.sakaiproject.entitybroker.util.access.AccessProviderManagerImpl
- registerStatement(String, String, String, String, Boolean, Float) - Method in class org.sakaiproject.entitybroker.util.external.ExternalIntegrationProviderMock
- relativePath - Static variable in class org.sakaiproject.entitybroker.util.spring.ResourceFinder
- ReloadableComponentProxy - Class in org.sakaiproject.entitybroker.util
-
WARNING: Requires Spring 1.2.8 or newer libraries in the classpath
Allows you to define a Sakai component in a webapp so it can be reloaded, this makes development easier since it does not require all of Sakai to be restarted and yet allows you to expose beans to the Sakai component manager
WARNING: This is currently experimental as your bean will not be able to be found by the component manager while things are starting up (since your webapp will not have loaded up yet), it is basically only useful for development and some testing right now
How to use:
1) Create a bean for the service you want to proxy in your webapp application context (example: myLocalBean)
2) Create a bean in your webapp like so:
3) Put the interface for your service into shared (this has to be the same interface you are registering in proxyInterfaces)
4) UseComponentManager.get(Class)to load up the proxied bean in the service/thing that is using your service at the point where it is used (not in the init or it will fail):if (webappService == null) { webappService = (MyService) ComponentManager.get(MyService.class); } That's it. - ReloadableComponentProxy() - Constructor for class org.sakaiproject.entitybroker.util.ReloadableComponentProxy
- removeAttribute(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityHttpSession
- removeAttribute(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityServletContext
- removeAttribute(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- removeCookie(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
-
Removes the cookie with the given name from the request
- removeCustomActions(String) - Method in class org.sakaiproject.entitybroker.util.core.EntityProviderMethodStoreImpl
- removeHeader(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- removeHeader(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
-
Delete a header and all values by name
- removeParameter(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
-
Removes a parameter and all values for it
- removeURLRedirects(String) - Method in class org.sakaiproject.entitybroker.util.core.EntityProviderMethodStoreImpl
- removeValue(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityHttpSession
- request - Variable in class org.sakaiproject.entitybroker.util.http.LazyRequestInputStream
- RequestGetterImpl - Class in org.sakaiproject.entitybroker.util.request
-
Service which will retrieve the current request information if it is available, this allows an application scoped bean to get access to request scoped information
- RequestGetterImpl() - Constructor for class org.sakaiproject.entitybroker.util.request.RequestGetterImpl
- requestStorage - Variable in class org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService
- RequestStorageImpl - Class in org.sakaiproject.entitybroker.util.request
-
Impl for the request store, will store values in the request itself and will maintain a map of all request values in a threadlocal which should always be cleared at the end of the request
- RequestStorageImpl() - Constructor for class org.sakaiproject.entitybroker.util.request.RequestStorageImpl
- RequestStorageImpl(RequestGetter) - Constructor for class org.sakaiproject.entitybroker.util.request.RequestStorageImpl
- RequestStorageImpl.EntryComparator - Class in org.sakaiproject.entitybroker.util.request
- RequestUtils - Class in org.sakaiproject.entitybroker.util.request
-
Contains a set of static utility methods for working with requests
- RequestUtils() - Constructor for class org.sakaiproject.entitybroker.util.request.RequestUtils
- RequestUtils.ShortestStringLastComparator - Class in org.sakaiproject.entitybroker.util.request
-
Comparator which puts the longest strings first and the shortest last
- reset() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- reset() - Method in class org.sakaiproject.entitybroker.util.http.EntityServletInputStream
- reset() - Method in class org.sakaiproject.entitybroker.util.http.LazyRequestInputStream
- reset() - Method in class org.sakaiproject.entitybroker.util.request.RequestStorageImpl
-
Resets the request storage and purges all stored values (has no effect on the data in the request)
- resetBuffer() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- resetState() - Method in class org.sakaiproject.entitybroker.util.http.HttpClientWrapper
-
Resets the http client state between requests, this is not necessarily required but might be a good idea
- ResourceBundleMessageSource(ResourceBundle) - Constructor for class org.sakaiproject.entitybroker.util.core.EntityPropertiesServiceSimple.ResourceBundleMessageSource
- ResourceFinder - Class in org.sakaiproject.entitybroker.util.spring
-
Takes a path or list of paths to resources and turns them into different things (file/IS/resource), this also allows us to look on a relative or absolute path and will automatically check the typical places one might expect to put sakai config files
Checks the environmental and file paths first and then defaults to checking the classloaders
Allows us to find resources in our pack since the Sakai context classloader is wrong, too bad it is not correct, that would be cool, but it is wrong and it is not cool
Sample usage: Just call whichever get* method you want to depending on the needed output
You can also get arrays of resources at once like so:org/sakaiproject/hierarchy/dao/hbm/HierarchyPersistentNode.hbm.xml org/sakaiproject/hierarchy/dao/hbm/HierarchyNodeMetaData.hbm.xml - ResourceFinder() - Constructor for class org.sakaiproject.entitybroker.util.spring.ResourceFinder
- responseBody - Variable in class org.sakaiproject.entitybroker.util.http.HttpResponse
-
the body of the response
- responseCode - Variable in class org.sakaiproject.entitybroker.util.http.HttpResponse
-
The http response code
- responseHeaders - Variable in class org.sakaiproject.entitybroker.util.http.HttpResponse
-
The map of the response headers, this may be null
- responseMessage - Variable in class org.sakaiproject.entitybroker.util.http.HttpResponse
-
The response message
- restoreCurrentUser() - Method in class org.sakaiproject.entitybroker.util.devhelper.DeveloperHelperServiceMock
S
- sendError(int) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- sendError(int, String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- sendError(HttpServletResponse, int, String) - Method in class org.sakaiproject.entitybroker.util.servlet.DirectServlet
-
handles sending back servlet errors to the client, feel free to override this if you like to handle errors in a particular way
- sendRedirect(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- serializeState() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityHttpSession
-
Serialize the attributes of this session into an object that can be turned into a byte array with standard Java serialization.
- serialVersionUID - Static variable in class org.sakaiproject.entitybroker.util.request.RequestStorageImpl.EntryComparator
- serialVersionUID - Static variable in class org.sakaiproject.entitybroker.util.request.RequestUtils.ShortestStringLastComparator
- serialVersionUID - Static variable in class org.sakaiproject.entitybroker.util.spring.BeanCollectorAutoRegistrar.OrderComparator
- server - Variable in class org.sakaiproject.entitybroker.util.http.URLData
- service(HttpServletRequest, HttpServletResponse) - Method in class org.sakaiproject.entitybroker.util.servlet.DirectServlet
- servletName - Variable in class org.sakaiproject.entitybroker.util.http.URLData
- SESSION_COOKIE_NAME - Static variable in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityHttpSession
- setApplicationContext(ApplicationContext) - Method in class org.sakaiproject.entitybroker.util.spring.BeanCollectorAutoRegistrar
- setApplicationContext(ApplicationContext) - Method in class org.sakaiproject.entitybroker.util.spring.EntityProviderAutoRegistrar
- setAttribute(String, Object) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityHttpSession
- setAttribute(String, Object) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityServletContext
- setAttribute(String, Object) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- setBufferSize(int) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- setCharacterEncoding(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- setCharacterEncoding(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- setCommitted(boolean) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- setContent(byte[]) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
-
Allows control over the content data which is used in this request, all data should be UTF-8 encoded
- setContent(InputStream, int) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
-
Allows control over the content data which is used in this request, all data should be UTF-8 encoded
- setContent(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
-
Allows control over the content data which is used in this request, all data should be UTF-8 encoded
- setContentLength(int) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- setContentType(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
-
Sets the content type for this request content
- setContentType(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- setContextPath(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityServletContext
- setContextPath(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- setCreated(Time) - Method in class org.sakaiproject.entitybroker.util.model.EntityContent
- setCreator(String) - Method in class org.sakaiproject.entitybroker.util.model.EntityContent
- setCurrentUser(String) - Method in class org.sakaiproject.entitybroker.util.devhelper.DeveloperHelperServiceMock
- setCustomActions(String, Map<String, CustomAction>) - Method in class org.sakaiproject.entitybroker.util.core.EntityProviderMethodStoreImpl
-
Set the custom actions for this prefix
- setDateHeader(String, long) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- setDescription(String) - Method in class org.sakaiproject.entitybroker.util.model.EntityContent
- setDeveloperHelperService(DeveloperHelperService) - Method in class org.sakaiproject.entitybroker.util.AbstractEntityProvider
- setEntityBroker(EntityBroker) - Method in class org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService
- setEntityBrokerManager(EntityBrokerManager) - Method in class org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService
- setEntityProperties(EntityPropertiesService) - Method in class org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService
-
Set this to include an optional properties handler
- setEntityProviderManager(EntityProviderManager) - Method in class org.sakaiproject.entitybroker.util.AbstractEntityProvider
- setEntityProviderManager(EntityProviderManager) - Method in class org.sakaiproject.entitybroker.util.spring.EntityProviderAutoRegistrar
- setEntityRequestHandler(EntityRequestHandler) - Method in class org.sakaiproject.entitybroker.util.servlet.DirectServlet
- setEntityRESTProvider(EntityRESTProvider) - Method in class org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService
-
Set this to include an optional encoding/decoding handler
- setForwardedUrl(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- setHeader(String, String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- setHidden(boolean) - Method in class org.sakaiproject.entitybroker.util.model.EntityContent
- setIncludedUrl(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- setIntHeader(String, int) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- setLocale(Locale) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- setLocale(Locale) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- setLocalSakaiComponentBean(Object) - Method in class org.sakaiproject.entitybroker.util.ReloadableComponentProxy
- setMaxInactiveInterval(int) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityHttpSession
- setMethod(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- setMimeType(String) - Method in class org.sakaiproject.entitybroker.util.model.EntityContent
- setModified(Time) - Method in class org.sakaiproject.entitybroker.util.model.EntityContent
- setModifiedBy(String) - Method in class org.sakaiproject.entitybroker.util.model.EntityContent
- setName(String) - Method in class org.sakaiproject.entitybroker.util.model.EntityContent
- setNew(boolean) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityHttpSession
- setOutputStreamAccessAllowed(boolean) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
-
Set whether
EntityHttpServletResponse.getOutputStream()access is allowed. - setParameter(String, String[]) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
-
Set a new parameter (overwrite an existing one)
- setParameters(Map<String, String[]>) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
-
Set a large number of params at once, replaces existing params
- setPathInfo(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- setPathString(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
-
This will set the given url/path string values into this request, this will override any values that are currently set
- setPriority(String) - Method in class org.sakaiproject.entitybroker.util.model.EntityContent
- setProperty(String, Object) - Method in class org.sakaiproject.entitybroker.util.model.EntityContent
- setQueryString(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- setReference(String) - Method in class org.sakaiproject.entitybroker.util.model.EntityContent
- setRelease(Time) - Method in class org.sakaiproject.entitybroker.util.model.EntityContent
- setRequest(HttpServletRequest) - Method in class org.sakaiproject.entitybroker.util.request.RequestGetterImpl
- setRequestGetter(RequestGetter) - Method in class org.sakaiproject.entitybroker.util.request.RequestStorageImpl
- setRequestStorage(RequestStorage) - Method in class org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService
- setRequestValue(String, Object) - Method in class org.sakaiproject.entitybroker.util.request.RequestStorageImpl
-
Allows user to set the value of a key directly, including reserved keys
- setRequestValues(Map<String, Object>) - Method in class org.sakaiproject.entitybroker.util.request.RequestStorageImpl
-
Place all these params into the request storage
- setRequestValues(HttpServletRequest) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
-
Set all the values from a request on this request object and set this request as the one which the values were copied from
- setResourceId(String) - Method in class org.sakaiproject.entitybroker.util.model.EntityContent
- setResponse(HttpServletResponse) - Method in class org.sakaiproject.entitybroker.util.request.RequestGetterImpl
- setResponseBody(String) - Method in class org.sakaiproject.entitybroker.util.http.HttpResponse
- setResponseCode(int) - Method in class org.sakaiproject.entitybroker.util.http.HttpResponse
- setResponseEncoding(String, HttpServletResponse) - Static method in class org.sakaiproject.entitybroker.util.request.RequestUtils
-
This will set the response mime type correctly based on the format constant, also sets the response encoding to UTF_8
- setResponseHeaders(Map<String, String[]>) - Method in class org.sakaiproject.entitybroker.util.http.HttpResponse
- setResponseMessage(String) - Method in class org.sakaiproject.entitybroker.util.http.HttpResponse
- setRetract(Time) - Method in class org.sakaiproject.entitybroker.util.model.EntityContent
- setSakaiComponentName(String) - Method in class org.sakaiproject.entitybroker.util.ReloadableComponentProxy
- setServletContextName(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityServletContext
- setServletPath(String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- setSize(String) - Method in class org.sakaiproject.entitybroker.util.model.EntityContent
- setStatus(int) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- setStatus(int, String) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
- setStoredValue(String, Object) - Method in class org.sakaiproject.entitybroker.util.request.RequestStorageImpl
- setType(String) - Method in class org.sakaiproject.entitybroker.util.model.EntityContent
- setUrl(String) - Method in class org.sakaiproject.entitybroker.util.model.EntityContent
- setUseRealDispatcher(boolean) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- setWriterAccessAllowed(boolean) - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletResponse
-
Set whether
EntityHttpServletResponse.getWriter()access is allowed. - ShortestStringLastComparator() - Constructor for class org.sakaiproject.entitybroker.util.request.RequestUtils.ShortestStringLastComparator
- shutdown() - Method in class org.sakaiproject.entitybroker.util.http.HttpClientWrapper
-
cleanup and shutdown the http client
- skip(long) - Method in class org.sakaiproject.entitybroker.util.http.EntityServletInputStream
- skip(long) - Method in class org.sakaiproject.entitybroker.util.http.LazyRequestInputStream
- SpringMessageBundle() - Constructor for class org.sakaiproject.entitybroker.util.spring.EntityPropertiesServiceSpringImpl.SpringMessageBundle
- stream - Variable in class org.sakaiproject.entitybroker.util.http.LazyRequestInputStream
- SVN_LAST_UPDATE - Static variable in class org.sakaiproject.entitybroker.util.VersionConstants
- SVN_REVISION - Static variable in class org.sakaiproject.entitybroker.util.VersionConstants
T
- TEMP_DIR_CONTEXT_ATTRIBUTE - Static variable in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest.EntityServletContext
- toString() - Method in class org.sakaiproject.entitybroker.util.http.EntityHttpServletRequest
- toString() - Method in class org.sakaiproject.entitybroker.util.http.EntityServletInputStream
- toString() - Method in class org.sakaiproject.entitybroker.util.http.EntityServletOutputStream
- toString() - Method in class org.sakaiproject.entitybroker.util.http.LazyRequestInputStream
- toString() - Method in class org.sakaiproject.entitybroker.util.http.LazyResponseOutputStream
- toString() - Method in class org.sakaiproject.entitybroker.util.request.RequestStorageImpl
- TRACE - org.sakaiproject.entitybroker.util.http.HttpRESTUtils.Method
- translateSearchReference(Search, String, String[], String) - Static method in class org.sakaiproject.entitybroker.util.EntityDataUtils
-
Adds in a search restriction based on existing restrictions, this is ideally setup to convert restrictions into one that the developers expect
- translateStandardSearch(Search) - Static method in class org.sakaiproject.entitybroker.util.EntityDataUtils
-
Translate the search into one using the standard search params
U
- unloadProperties(String) - Method in class org.sakaiproject.entitybroker.util.core.AbstractEntityPropertiesService
- unregisterPrefixMessageBundle(String) - Method in class org.sakaiproject.entitybroker.util.core.AbstractEntityPropertiesService
-
Unregister this message bundle
- unregisterProvider(String) - Method in class org.sakaiproject.entitybroker.util.access.AccessProviderManagerImpl
- unregisterProvider(String, T) - Method in class org.sakaiproject.entitybroker.util.access.AccessProviderManagerImpl
- URL_ENCODING - Static variable in class org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService
-
Encoding method to use when URL encoding
- URLData - Class in org.sakaiproject.entitybroker.util.http
-
This is a storage and parsing utility class, supports the ability to get the data out of a URL
- URLData(String) - Constructor for class org.sakaiproject.entitybroker.util.http.URLData
- urlEncodeUTF8(String) - Static method in class org.sakaiproject.entitybroker.util.http.HttpRESTUtils
- USER_BASE - Static variable in class org.sakaiproject.entitybroker.util.devhelper.AbstractDeveloperHelperService
-
The user reference base
V
- validActionParamTypes - Static variable in class org.sakaiproject.entitybroker.util.core.EntityProviderMethodStoreImpl
- validateActionParamTypes(Class<?>[], String) - Static method in class org.sakaiproject.entitybroker.util.core.EntityProviderMethodStoreImpl
-
Validates the parameter types on a method to make sure they are valid
- validateControllableTemplates(RedirectControllable) - Static method in class org.sakaiproject.entitybroker.util.core.EntityProviderMethodStoreImpl
-
Execute this validate and get the templates so they can be registered
- validateCustomActionMethods(ActionsDefineable) - Static method in class org.sakaiproject.entitybroker.util.core.EntityProviderMethodStoreImpl
-
Takes a set of custom actions and validates them
- validateDefineableTemplates(RedirectDefinable) - Static method in class org.sakaiproject.entitybroker.util.core.EntityProviderMethodStoreImpl
-
Validates the provided URL templates in an entity provider and outputs the URL redirect objects as an array
- validateParamTypes(Class<?>[], Class<?>[]) - Static method in class org.sakaiproject.entitybroker.util.core.EntityProviderMethodStoreImpl
-
Validates param types against a given list of valid types
- validateRedirectParamTypes(Class<?>[], String) - Static method in class org.sakaiproject.entitybroker.util.core.EntityProviderMethodStoreImpl
-
Validates the parameter types on a method to make sure they are valid
- validRedirectParamTypes - Static variable in class org.sakaiproject.entitybroker.util.core.EntityProviderMethodStoreImpl
- valueOf(String) - Static method in enum org.sakaiproject.entitybroker.util.http.HttpRESTUtils.Method
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.sakaiproject.entitybroker.util.http.HttpRESTUtils.Method
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VersionConstants - Class in org.sakaiproject.entitybroker.util
-
Tracking the version for output on screen
- VersionConstants() - Constructor for class org.sakaiproject.entitybroker.util.VersionConstants
W
- write(byte[]) - Method in class org.sakaiproject.entitybroker.util.http.EntityServletOutputStream
- write(byte[]) - Method in class org.sakaiproject.entitybroker.util.http.EntityServletOutputStream.WriterOutputStream
- write(byte[]) - Method in class org.sakaiproject.entitybroker.util.http.LazyResponseOutputStream
- write(byte[], int, int) - Method in class org.sakaiproject.entitybroker.util.http.EntityServletOutputStream
- write(byte[], int, int) - Method in class org.sakaiproject.entitybroker.util.http.EntityServletOutputStream.WriterOutputStream
- write(byte[], int, int) - Method in class org.sakaiproject.entitybroker.util.http.LazyResponseOutputStream
- write(int) - Method in class org.sakaiproject.entitybroker.util.http.EntityServletOutputStream
- write(int) - Method in class org.sakaiproject.entitybroker.util.http.EntityServletOutputStream.WriterOutputStream
- write(int) - Method in class org.sakaiproject.entitybroker.util.http.LazyResponseOutputStream
- WriterOutputStream(Writer) - Constructor for class org.sakaiproject.entitybroker.util.http.EntityServletOutputStream.WriterOutputStream
- WriterOutputStream(Writer, String) - Constructor for class org.sakaiproject.entitybroker.util.http.EntityServletOutputStream.WriterOutputStream
_
- _encoding - Variable in class org.sakaiproject.entitybroker.util.http.EntityServletOutputStream.WriterOutputStream
- _writer - Variable in class org.sakaiproject.entitybroker.util.http.EntityServletOutputStream.WriterOutputStream
All Classes All Packages