A B C E G H I K N O P R S U V 

A

AdaptTo - Class in io.wcm.sling.commons.adapter
Utility methods around Sling Adaptable.

B

bind(T, Map<String, Object>) - Method in class io.wcm.sling.commons.osgi.RankedServices
Handle bind service event.
build() - Method in class io.wcm.sling.commons.resource.ImmutableValueMap.Builder
Returns a newly-created immutable map.
builder() - Static method in class io.wcm.sling.commons.resource.ImmutableValueMap
Returns a new builder.

C

changed() - Method in interface io.wcm.sling.commons.osgi.RankedServices.ChangeListener
Is called when the list of ranked services was changed due to bundle bindings/unbindings.
clear() - Method in class io.wcm.sling.commons.resource.ImmutableValueMap
Deprecated.
Unsupported operation
compare(Resource, Resource) - Method in class io.wcm.sling.commons.resource.NameResourceComparator
 
containsKey(Object) - Method in class io.wcm.sling.commons.resource.ImmutableValueMap
 
containsValue(Object) - Method in class io.wcm.sling.commons.resource.ImmutableValueMap
 
copyOf(Map<String, Object>) - Static method in class io.wcm.sling.commons.resource.ImmutableValueMap
Returns an immutable map containing the same entries as map.

E

entrySet() - Method in class io.wcm.sling.commons.resource.ImmutableValueMap
 
Escape - Class in io.wcm.sling.commons.util
Encoding utility functions.

G

get() - Method in class io.wcm.sling.commons.osgi.RankedServices
 
get(ServletRequest, String) - Static method in class io.wcm.sling.commons.request.RequestParam
Returns a request parameter.
get(ServletRequest, String, String) - Static method in class io.wcm.sling.commons.request.RequestParam
Returns a request parameter.
get(Map<String, String[]>, String) - Static method in class io.wcm.sling.commons.request.RequestParam
Returns a request parameter.
get(String, Class<T>) - Method in class io.wcm.sling.commons.resource.ImmutableValueMap
 
get(String, T) - Method in class io.wcm.sling.commons.resource.ImmutableValueMap
 
get(Object) - Method in class io.wcm.sling.commons.resource.ImmutableValueMap
 
getAdaptable() - Method in exception io.wcm.sling.commons.adapter.UnableToAdaptException
 
getBoolean(ServletRequest, String) - Static method in class io.wcm.sling.commons.request.RequestParam
Returns a request parameter as boolean.
getBoolean(ServletRequest, String, boolean) - Static method in class io.wcm.sling.commons.request.RequestParam
Returns a request parameter as boolean.
getDouble(ServletRequest, String) - Static method in class io.wcm.sling.commons.request.RequestParam
Returns a request parameter as double.
getDouble(ServletRequest, String, double) - Static method in class io.wcm.sling.commons.request.RequestParam
Returns a request parameter as double.
getEnum(ServletRequest, String, Class<T>) - Static method in class io.wcm.sling.commons.request.RequestParam
Returns a request parameter as enum value.
getEnum(ServletRequest, String, Class<T>, T) - Static method in class io.wcm.sling.commons.request.RequestParam
Returns a request parameter as enum value.
getFloat(ServletRequest, String) - Static method in class io.wcm.sling.commons.request.RequestParam
Returns a request parameter as float.
getFloat(ServletRequest, String, float) - Static method in class io.wcm.sling.commons.request.RequestParam
Returns a request parameter as float.
getInt(ServletRequest, String) - Static method in class io.wcm.sling.commons.request.RequestParam
Returns a request parameter as integer.
getInt(ServletRequest, String, int) - Static method in class io.wcm.sling.commons.request.RequestParam
Returns a request parameter as integer.
getLong(ServletRequest, String) - Static method in class io.wcm.sling.commons.request.RequestParam
Returns a request parameter as long.
getLong(ServletRequest, String, long) - Static method in class io.wcm.sling.commons.request.RequestParam
Returns a request parameter as long.
getMultiple(ServletRequest, String) - Static method in class io.wcm.sling.commons.request.RequestParam
Returns a request parameter array.
getType() - Method in exception io.wcm.sling.commons.adapter.UnableToAdaptException
 

H

hasAnySelector(SlingHttpServletRequest, String...) - Static method in class io.wcm.sling.commons.request.RequestPath
Checks if one of the given selectors is present in the current URL request (at any position).
hasSelector(SlingHttpServletRequest, String) - Static method in class io.wcm.sling.commons.request.RequestPath
Checks if the given selector is present in the current URL request (at any position).

I

ImmutableValueMap - Class in io.wcm.sling.commons.resource
ValueMap that does not support changing its content.
ImmutableValueMap.Builder - Class in io.wcm.sling.commons.resource
Builder interface for ImmutableValueMap.
ImmutableValueMap.Builder() - Constructor for class io.wcm.sling.commons.resource.ImmutableValueMap.Builder
 
io.wcm.sling.commons.adapter - package io.wcm.sling.commons.adapter
 
io.wcm.sling.commons.osgi - package io.wcm.sling.commons.osgi
 
io.wcm.sling.commons.request - package io.wcm.sling.commons.request
 
io.wcm.sling.commons.resource - package io.wcm.sling.commons.resource
 
io.wcm.sling.commons.util - package io.wcm.sling.commons.util
 
isEmpty() - Method in class io.wcm.sling.commons.resource.ImmutableValueMap
 
iterator() - Method in class io.wcm.sling.commons.osgi.RankedServices
 

K

keySet() - Method in class io.wcm.sling.commons.resource.ImmutableValueMap
 

N

NameResourceComparator - Class in io.wcm.sling.commons.resource
Orders resources alphabetically by name (ascending).
NameResourceComparator() - Constructor for class io.wcm.sling.commons.resource.NameResourceComparator
 
notNull(Adaptable, Class<T>) - Static method in class io.wcm.sling.commons.adapter.AdaptTo
Try to adapt the adaptable to the given type and ensures that it succeeds.

O

of() - Static method in class io.wcm.sling.commons.resource.ImmutableValueMap
Returns the empty map.
of(String, Object) - Static method in class io.wcm.sling.commons.resource.ImmutableValueMap
Returns an immutable map containing a single entry.
of(String, Object, String, Object) - Static method in class io.wcm.sling.commons.resource.ImmutableValueMap
Returns an immutable map containing the given entries, in order.
of(String, Object, String, Object, String, Object) - Static method in class io.wcm.sling.commons.resource.ImmutableValueMap
Returns an immutable map containing the given entries, in order.
of(String, Object, String, Object, String, Object, String, Object) - Static method in class io.wcm.sling.commons.resource.ImmutableValueMap
Returns an immutable map containing the given entries, in order.
of(String, Object, String, Object, String, Object, String, Object, String, Object) - Static method in class io.wcm.sling.commons.resource.ImmutableValueMap
Returns an immutable map containing the given entries, in order.

P

PARAMETER_FORMENCODING - Static variable in class io.wcm.sling.commons.request.RequestParam
The name of the form encoding parameter.
put(String, Object) - Method in class io.wcm.sling.commons.resource.ImmutableValueMap.Builder
Associates key with value in the built map.
put(Map.Entry<String, Object>) - Method in class io.wcm.sling.commons.resource.ImmutableValueMap.Builder
Adds the given entry to the map, making it immutable if necessary.
put(String, Object) - Method in class io.wcm.sling.commons.resource.ImmutableValueMap
Deprecated.
Unsupported operation
putAll(Map<String, Object>) - Method in class io.wcm.sling.commons.resource.ImmutableValueMap.Builder
Associates all of the given map's keys and values in the built map.
putAll(Map<? extends String, ? extends Object>) - Method in class io.wcm.sling.commons.resource.ImmutableValueMap
Deprecated.
Unsupported operation

R

RankedServices<T> - Class in io.wcm.sling.commons.osgi
Helper class that collects all services registered via OSGi bind/unbind methods.
RankedServices() - Constructor for class io.wcm.sling.commons.osgi.RankedServices
Instantiate without change listener.
RankedServices(RankedServices.ChangeListener) - Constructor for class io.wcm.sling.commons.osgi.RankedServices
Instantiate without change listener.
RankedServices.ChangeListener - Interface in io.wcm.sling.commons.osgi
Notification for changes on services list.
remove(Object) - Method in class io.wcm.sling.commons.resource.ImmutableValueMap
Deprecated.
Unsupported operation
RequestParam - Class in io.wcm.sling.commons.request
Several helper methods for getting parameters from the servlet request.
RequestPath - Class in io.wcm.sling.commons.request
Utility methods when for sling paths and resources.

S

size() - Method in class io.wcm.sling.commons.resource.ImmutableValueMap
 

U

UnableToAdaptException - Exception in io.wcm.sling.commons.adapter
UnableToAdaptException(Adaptable, Class<?>) - Constructor for exception io.wcm.sling.commons.adapter.UnableToAdaptException
 
unbind(T, Map<String, Object>) - Method in class io.wcm.sling.commons.osgi.RankedServices
Handle unbind service event.
urlEncode(String) - Static method in class io.wcm.sling.commons.util.Escape
Applies URL-Encoding to the given parameter name or value.

V

validFilename(String) - Static method in class io.wcm.sling.commons.util.Escape
Create valid filename by applying method validName(String) on filename and extension.
validName(String) - Static method in class io.wcm.sling.commons.util.Escape
Creates a valid node name.
values() - Method in class io.wcm.sling.commons.resource.ImmutableValueMap
 
A B C E G H I K N O P R S U V 

Copyright © 2014 wcm.io. All rights reserved.