MCPcopy Create free account

hub / github.com/directwebremoting/dwr / functions

Functions3,670 in github.com/directwebremoting/dwr

↓ 316 callersMethodgetName
Returns the name uniquely identifying the module. This name is also used in JavaScript land. @return name string
core/api/main/java/org/directwebremoting/extend/Module.java:28
↓ 234 callersMethodput
Similar to {@link java.util.Map#put} in adding items to a Store. A value of null is equivalent to removing the item from the store. Part of the functi
core/api/main/java/org/directwebremoting/datasync/StoreProvider.java:90
↓ 229 callersMethodgetClass
Hibernate makes {@link Class#getClass()} difficult ... @param example The class that we want to call {@link Class#getClass()} on @return The type of t
serverside/hibernate/main/java/org/directwebremoting/hibernate/H3BeanConverter.java:136
↓ 182 callersMethoddebug
Logger a debug message @param message The text to log
core/api/main/java/org/directwebremoting/util/LoggingOutput.java:58
↓ 180 callersMethodget
Get the object that is associated with this thread, assuming that there is no confusion over the current {@link ServerContext}. There is more than one
core/api/main/java/org/directwebremoting/extend/Builder.java:39
↓ 177 callersMethodwarn
Logger a warning message @param message The text to log
core/api/main/java/org/directwebremoting/util/LoggingOutput.java:70
↓ 173 callersMethodtoString
Returns a pretty-print friendly string describing the module. @return human-readable descriptive string
core/api/main/java/org/directwebremoting/extend/Module.java:64
↓ 152 callersMethoderror
Logger an error message @param message The text to log
core/api/main/java/org/directwebremoting/util/LoggingOutput.java:83
↓ 137 callersMethodappendScript
@param str The String to add to the script @return this. To allow buffer.append(x).append(y).append(z); @see java.lang.StringBuffer#append(java.lang.S
core/api/main/java/org/directwebremoting/ScriptBuffer.java:71
↓ 136 callersMethodgetAttribute
Returns the object bound with the specified name in this ScriptSession, or <code>null</code> if no object is bound under the name. @param name a strin
core/api/main/java/org/directwebremoting/ScriptSession.java:38
↓ 133 callersMethodindexOf
(Object sought)
core/api/main/java/org/directwebremoting/json/types/JsonArray.java:150
↓ 100 callersMethodassertInboundConversion
(String input, Class<?> convertTo, Object expected)
core/impl/test/java/org/directwebremoting/convert/AllConverterTest.java:324
↓ 98 callersMethodgetValue
Get the value of this property of the passed in java bean @param bean The bean to introspect @return The value assigned to this property of the passed
core/api/main/java/org/directwebremoting/extend/Property.java:56
↓ 86 callersMethodgetBean
Get the contained instance of a bean/setting of a given name. @param id The type to get an instance of @return The object of the given type, or null i
core/api/main/java/org/directwebremoting/Container.java:32
↓ 85 callersMethodremove
Removes the registry entry for the given key (either directly or using the precalculated key.toString() value) from a registry object if the registere
serverside/guice/main/java/org/directwebremoting/guice/util/ContextRegistry.java:56
↓ 77 callersMethodcall
()
serverside/guice/main/java/org/directwebremoting/guice/DwrGuiceServlet.java:64
↓ 73 callersMethodappendData
@param b The boolean to add to the script @return this. To allow buffer.append(x).append(y).append(z); @see java.lang.StringBuffer#append(boolean)
core/api/main/java/org/directwebremoting/ScriptBuffer.java:82
↓ 71 callersMethodadd
(Set<String> classes, String className)
etc/future/scanner/ClasspathScanner.java:46
↓ 69 callersMethodaddContent
Adds the actual module content (script body). @param content
core/impl/main/java/org/directwebremoting/servlet/BaseModule.java:44
↓ 67 callersMethodinfo
Logger an info message @param message The text to log
core/api/main/java/org/directwebremoting/util/LoggingOutput.java:64
↓ 66 callersMethodget
Accessor for the current {@link WebContext}. @return The current WebContext or null if the current thread was not started by DWR.
core/api/main/java/org/directwebremoting/WebContextFactory.java:35
↓ 65 callersMethodsetAttribute
Binds an object to this ScriptSession, using the name specified. If an object of the same name is already bound to the ScriptSession, the object is re
core/api/main/java/org/directwebremoting/ScriptSession.java:55
↓ 62 callersMethodequals
(Object o)
core/impl/main/java/org/directwebremoting/impl/ContainerMap.java:105
↓ 59 callersMethodassertOutboundConversion
(Object input, String expected)
core/impl/test/java/org/directwebremoting/convert/AllConverterTest.java:383
↓ 58 callersMethodsplit
Chop a parameter declaration string into separate parameters @param paramDecl The full set of parameter declarations @return An array of found paramet
core/impl/main/java/org/directwebremoting/impl/SignatureParser.java:427
↓ 55 callersMethodadd
(Container container)
core/impl/main/java/org/directwebremoting/impl/StartupUtil.java:959
↓ 51 callersMethodclassForName
Utility to essentially do Class forName and allow configurable Classloaders. <p>This implementation makes use of the context classloader for the curre
core/api/main/java/org/directwebremoting/util/LocalUtil.java:1152
↓ 51 callersMethodequals
(Object obj)
etc/future/scanner/InboundVariable.java:339
↓ 49 callersMethodtest
()
core/impl/test/java/org/directwebremoting/create/NewCreatorTest.java:27
↓ 48 callersMethodconvertInbound
Attempt to coerce the data from a string to an Object. If anything goes wrong with inbound conversion then we generally throw an exception because we
core/api/main/java/org/directwebremoting/extend/Converter.java:43
↓ 45 callersMethodnewInstance
Sometimes we need to create a bean as a one-off object and have it injected with settings by the container. This does not make the object part of the
core/api/main/java/org/directwebremoting/Container.java:63
↓ 43 callersMethodprintln
()
core/api/main/java/org/directwebremoting/util/DebuggingPrintWriter.java:176
↓ 43 callersMethodsize
()
core/api/main/java/org/directwebremoting/json/types/JsonArray.java:238
↓ 42 callersMethodcontains
(Object sought)
core/api/main/java/org/directwebremoting/json/types/JsonArray.java:126
↓ 42 callersMethodmatch
Does this {@link ScriptSession} match according to the matching pattern declared by this filter. @param session The ScriptSession to check for a match
core/api/main/java/org/directwebremoting/ScriptSessionFilter.java:31
↓ 41 callersMethodjoin
Create a string by joining the array elements together with the separator in-between each element. A null (in the array or as a separator) is treated
core/api/main/java/org/directwebremoting/util/LocalUtil.java:93
↓ 41 callersMethodwrite
(byte[] ba)
core/api/main/java/org/directwebremoting/util/WriterOutputStream.java:61
↓ 40 callersMethodgetServletContext
Returns the ServletContext to which this session belongs. @return The servlet context information.
core/api/main/java/org/directwebremoting/ServerContext.java:90
↓ 38 callersMethodget
The context identifier used to look up an instance registry. The value returned is a function of the current context.
serverside/guice/main/java/org/directwebremoting/guice/util/ContextScope.java:43
↓ 37 callersMethodgetMethod
Returns a particular method as matched by the name and parameter types. @param methodName @param parameterTypes @return method declaration
core/api/main/java/org/directwebremoting/extend/Module.java:49
↓ 36 callersMethodgetParameterTypes
()
core/api/main/java/org/directwebremoting/extend/MethodDeclaration.java:74
↓ 35 callersMethodequals
A helper for implementing {@link Object#equals(Object)} when some of your members could be null. Returns true if both objects are null, or if neither
core/api/main/java/org/directwebremoting/util/LocalUtil.java:442
↓ 34 callersMethodsize
()
core/impl/main/java/org/directwebremoting/impl/ContainerMap.java:160
↓ 32 callersMethodcallEffect
@param elementId The element to affect @param function The script.aculo.us effect to employ
core/legacy/main/java/org/directwebremoting/proxy/scriptaculous/Effect.java:369
↓ 31 callersMethodclose
A small amount of data is stored on the client to track the remotely. accessible objects. To clear this data, the function needs to be cleared on the
core/api/main/java/org/directwebremoting/io/JavascriptObject.java:53
↓ 31 callersMethodisDebugEnabled
Save CPU time when we are not debugging @return true if debugging is enabled
core/api/main/java/org/directwebremoting/util/LoggingOutput.java:109
↓ 30 callersMethodadd
(int index, JsonValue value)
core/api/main/java/org/directwebremoting/json/types/JsonArray.java:86
↓ 30 callersMethodaddAll
(Collection<? extends JsonValue> collection)
core/api/main/java/org/directwebremoting/json/types/JsonArray.java:102
↓ 29 callersMethodhasText
Check whether the given CharSequence has actual text. More specifically, returns <code>true</code> if the string not <code>null</code>, its length is
core/api/main/java/org/directwebremoting/util/LocalUtil.java:145
↓ 29 callersMethodtoSimpleObject
Convert the input string into a set of basic types
core/api/main/java/org/directwebremoting/json/JsonUtil.java:69
↓ 28 callersMethodentrySet
()
core/impl/main/java/org/directwebremoting/impl/ContainerMap.java:75
↓ 28 callersMethodequals
Compare 2 objects taking account of the fact that either could be null @param o1 The first object to compare @param o2 The second object to compare @r
core/api/main/java/org/directwebremoting/util/CompareUtil.java:57
↓ 27 callersMethodaddScript
Add a script to the list waiting for remote execution. @param script The script to execute
core/api/main/java/org/directwebremoting/ScriptSession.java:97
↓ 27 callersMethodequals
(Object t)
serverside/guice/main/java/org/directwebremoting/guice/RemotedImpl.java:47
↓ 26 callersMethodgetType
Accessor for the <code>java.lang.Class</code> that this Creator allows access to. @return The type of this allowed class
core/api/main/java/org/directwebremoting/extend/Creator.java:39
↓ 25 callersMethodgetScriptSession
Get the script session that represents the currently viewed page in the same way that an HttpSession represents a cookie. <p>If the DWR thread that ga
core/api/main/java/org/directwebremoting/WebContext.java:41
↓ 25 callersMethodgetSession
Returns the current session associated with this request, or if the request does not have a session, creates one. @return Returns the http session. @s
core/api/main/java/org/directwebremoting/WebContext.java:68
↓ 25 callersMethodisNull
Was this type null on the way in @return true if the javascript variable was null or undefined.
core/api/main/java/org/directwebremoting/extend/InboundVariable.java:185
↓ 25 callersMethodjj_consume_token
(int kind)
core/impl/generated/java/org/directwebremoting/json/parse/javacc/JavaccJsonParser.java:542
↓ 24 callersMethodconvertOutbound
Return a javascript string that defines the variable named varName to have the contents of the converted object data. <p>In contrast to <code>convertI
core/api/main/java/org/directwebremoting/extend/Converter.java:59
↓ 24 callersMethodgetContext
Accessor of the context of the variable: the other related variables
core/api/main/java/org/directwebremoting/extend/InboundVariable.java:117
↓ 24 callersMethodset
Add a property to a JavaScript object. The type of the data must be convertible by DWR.
core/api/main/java/org/directwebremoting/io/JavascriptObject.java:39
↓ 22 callersMethodaddFunctionCall
Call a named function with one parameter. @param funcName The name of the function to call @param params The parameters to the above function
core/api/main/java/org/directwebremoting/ScriptSessions.java:100
↓ 22 callersMethodassertInboundConversionFailure
(String input, Class<?> convertTo)
core/impl/test/java/org/directwebremoting/convert/AllConverterTest.java:363
↓ 22 callersMethodclose
Closes the given context.
serverside/guice/main/java/org/directwebremoting/guice/util/ContextScope.java:64
↓ 22 callersMethodpublish
Publish some data to a certain topic. @param topicName The topic to subscribe to. @param message The data to publish
core/api/main/java/org/directwebremoting/Hub.java:58
↓ 21 callersMethodaddScript
Add a script to the list waiting for remote execution. @param script The script to execute
core/api/main/java/org/directwebremoting/ScriptSessions.java:76
↓ 21 callersMethodescapeJavaScript
(String str)
core/api/main/java/org/directwebremoting/util/JavascriptUtil.java:41
↓ 21 callersMethodgetInstance
Accessor for the/an instance of this Creator. @return the instance to use @throws InstantiationException If for some reason the object can not be crea
core/api/main/java/org/directwebremoting/extend/Creator.java:46
↓ 21 callersMethodisEmpty
()
core/api/main/java/org/directwebremoting/json/types/JsonArray.java:158
↓ 21 callersMethoditerator
()
core/api/main/java/org/directwebremoting/extend/Calls.java:92
↓ 21 callersMethodkeySet
()
core/impl/main/java/org/directwebremoting/impl/ContainerMap.java:150
↓ 19 callersMethodgetMessage
@param ex The exception to create a message from @return A summary of what went wrong.
core/api/main/java/org/directwebremoting/util/LogErrorHandler.java:57
↓ 19 callersMethodnext
()
core/api/main/java/org/directwebremoting/util/LocalUtil.java:678
↓ 19 callersMethodoriginalDwrClassName
Converts a remapped DWR classname to the corresponding original name in the org.directwebremoting package. @param className @return full class name r
core/api/main/java/org/directwebremoting/util/LocalUtil.java:1228
↓ 19 callersMethodsetParameter
(ParamName paramName, Object value)
serverside/guice/main/java/org/directwebremoting/guice/InjectedConfig.java:41
↓ 19 callersMethodsetValue
Set the value of this property of the passed in java bean @param bean The bean to introspect @param value The value assigned to this property of the p
core/api/main/java/org/directwebremoting/extend/Property.java:64
↓ 18 callersMethodgetMessage
You can also modify the body of this method to customize your error messages. For example, cases like LOOP_DETECTED and INVALID_LEXICAL_STATE are not
core/impl/generated/java/org/directwebremoting/json/parse/javacc/TokenMgrError.java:132
↓ 17 callersMethodgetHttpServletRequest
Accessor for the http request information. @return Returns the request.
core/api/main/java/org/directwebremoting/WebContext.java:85
↓ 17 callersMethodgetId
Returns a string containing the unique identifier assigned to this ScriptSession. The identifier is assigned by DWR. @return a string specifying the i
core/api/main/java/org/directwebremoting/ScriptSession.java:112
↓ 17 callersMethodgetJavascript
How is this creator referred to in Javascript land? @return A Javascript identifier
core/api/main/java/org/directwebremoting/extend/Creator.java:78
↓ 17 callersMethodgetScriptName
@return Returns the scriptName.
etc/future/scanner/Call.java:112
↓ 17 callersMethodgetString
Returns the contents of the file item as a String.
core/api/main/java/org/directwebremoting/extend/FormField.java:126
↓ 17 callersMethodlastIndexOf
(Object sought)
core/api/main/java/org/directwebremoting/json/types/JsonArray.java:174
↓ 17 callersMethodmatches
(Method method)
serverside/guice/main/java/org/directwebremoting/guice/util/DeclaredBy.java:39
↓ 16 callersMethodclose
InputStream closer that can cope if the input stream is null. If anything goes wrong, the errors are logged and ignored. @param in The resource to clo
core/api/main/java/org/directwebremoting/util/LocalUtil.java:1566
↓ 16 callersMethodhasNext
()
core/api/main/java/org/directwebremoting/util/LocalUtil.java:672
↓ 16 callersMethodurlDecode
URL decode a value. {@link URLDecoder#decode(String, String)} throws an {@link UnsupportedEncodingException}, which is silly given that the most commo
core/api/main/java/org/directwebremoting/util/LocalUtil.java:713
↓ 15 callersMethodgetMethods
Returns all logical method declarations for the module. @return array of method declarations
core/api/main/java/org/directwebremoting/extend/Module.java:41
↓ 15 callersMethodgetWriter
()
core/api/main/java/org/directwebremoting/util/FakeHttpServletResponse.java:76
↓ 15 callersMethodsetSource
We might want to warn people about gratuitous source type changes
serverside/various/main/java/org/directwebremoting/jms/DwrMessage.java:821
↓ 15 callersMethodtestPattern
(String pattern, String value, boolean caseInsensitive)
core/api/main/java/org/directwebremoting/datasync/AbstractStoreProvider.java:116
↓ 14 callersMethodaddOption
Helper to prevent lots of cut and paste in adding new options.
ui/dwr/main/java/org/directwebremoting/ui/browser/Window.java:338
↓ 14 callersMethodgetAssignCode
A short script that can be used to refer to this variable @return Returns the assignCode.
core/api/main/java/org/directwebremoting/extend/OutboundVariable.java:76
↓ 14 callersMethodgetNotifications
()
etc/future/PubSubHubTest.java:113
↓ 14 callersMethodgetProperty
@return a string
core/impl/test/java/org/directwebremoting/convert/test/MyBean.java:26
↓ 14 callersMethodjjStopAtPos
(int pos, int kind)
core/impl/generated/java/org/directwebremoting/json/parse/javacc/JavaccJsonParserTokenManager.java:214
↓ 14 callersMethodputIfAbsent
Looks up an InstanceProvider for a key (either directly or using the precalculated key.toString() value) in a registry object, returning null if not f
serverside/guice/main/java/org/directwebremoting/guice/util/ContextRegistry.java:46
↓ 14 callersMethodreadChar
()
core/impl/generated/java/org/directwebremoting/json/parse/javacc/SimpleCharStream.java:230
↓ 14 callersMethodsend
(Message message)
serverside/various/main/java/org/directwebremoting/jms/DwrMessageProducer.java:115
next →1–100 of 3,670, ranked by callers