Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/directwebremoting/dwr
/ functions
Functions
3,670 in github.com/directwebremoting/dwr
⨍
Functions
3,670
◇
Types & classes
658
↓ 316 callers
Method
getName
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 callers
Method
put
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 callers
Method
getClass
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 callers
Method
debug
Logger a debug message @param message The text to log
core/api/main/java/org/directwebremoting/util/LoggingOutput.java:58
↓ 180 callers
Method
get
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 callers
Method
warn
Logger a warning message @param message The text to log
core/api/main/java/org/directwebremoting/util/LoggingOutput.java:70
↓ 173 callers
Method
toString
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 callers
Method
error
Logger an error message @param message The text to log
core/api/main/java/org/directwebremoting/util/LoggingOutput.java:83
↓ 137 callers
Method
appendScript
@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 callers
Method
getAttribute
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 callers
Method
indexOf
(Object sought)
core/api/main/java/org/directwebremoting/json/types/JsonArray.java:150
↓ 100 callers
Method
assertInboundConversion
(String input, Class<?> convertTo, Object expected)
core/impl/test/java/org/directwebremoting/convert/AllConverterTest.java:324
↓ 98 callers
Method
getValue
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 callers
Method
getBean
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 callers
Method
remove
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 callers
Method
call
()
serverside/guice/main/java/org/directwebremoting/guice/DwrGuiceServlet.java:64
↓ 73 callers
Method
appendData
@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 callers
Method
add
(Set<String> classes, String className)
etc/future/scanner/ClasspathScanner.java:46
↓ 69 callers
Method
addContent
Adds the actual module content (script body). @param content
core/impl/main/java/org/directwebremoting/servlet/BaseModule.java:44
↓ 67 callers
Method
info
Logger an info message @param message The text to log
core/api/main/java/org/directwebremoting/util/LoggingOutput.java:64
↓ 66 callers
Method
get
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 callers
Method
setAttribute
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 callers
Method
equals
(Object o)
core/impl/main/java/org/directwebremoting/impl/ContainerMap.java:105
↓ 59 callers
Method
assertOutboundConversion
(Object input, String expected)
core/impl/test/java/org/directwebremoting/convert/AllConverterTest.java:383
↓ 58 callers
Method
split
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 callers
Method
add
(Container container)
core/impl/main/java/org/directwebremoting/impl/StartupUtil.java:959
↓ 51 callers
Method
classForName
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 callers
Method
equals
(Object obj)
etc/future/scanner/InboundVariable.java:339
↓ 49 callers
Method
test
()
core/impl/test/java/org/directwebremoting/create/NewCreatorTest.java:27
↓ 48 callers
Method
convertInbound
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 callers
Method
newInstance
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 callers
Method
println
()
core/api/main/java/org/directwebremoting/util/DebuggingPrintWriter.java:176
↓ 43 callers
Method
size
()
core/api/main/java/org/directwebremoting/json/types/JsonArray.java:238
↓ 42 callers
Method
contains
(Object sought)
core/api/main/java/org/directwebremoting/json/types/JsonArray.java:126
↓ 42 callers
Method
match
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 callers
Method
join
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 callers
Method
write
(byte[] ba)
core/api/main/java/org/directwebremoting/util/WriterOutputStream.java:61
↓ 40 callers
Method
getServletContext
Returns the ServletContext to which this session belongs. @return The servlet context information.
core/api/main/java/org/directwebremoting/ServerContext.java:90
↓ 38 callers
Method
get
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 callers
Method
getMethod
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 callers
Method
getParameterTypes
()
core/api/main/java/org/directwebremoting/extend/MethodDeclaration.java:74
↓ 35 callers
Method
equals
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 callers
Method
size
()
core/impl/main/java/org/directwebremoting/impl/ContainerMap.java:160
↓ 32 callers
Method
callEffect
@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 callers
Method
close
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 callers
Method
isDebugEnabled
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 callers
Method
add
(int index, JsonValue value)
core/api/main/java/org/directwebremoting/json/types/JsonArray.java:86
↓ 30 callers
Method
addAll
(Collection<? extends JsonValue> collection)
core/api/main/java/org/directwebremoting/json/types/JsonArray.java:102
↓ 29 callers
Method
hasText
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 callers
Method
toSimpleObject
Convert the input string into a set of basic types
core/api/main/java/org/directwebremoting/json/JsonUtil.java:69
↓ 28 callers
Method
entrySet
()
core/impl/main/java/org/directwebremoting/impl/ContainerMap.java:75
↓ 28 callers
Method
equals
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 callers
Method
addScript
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 callers
Method
equals
(Object t)
serverside/guice/main/java/org/directwebremoting/guice/RemotedImpl.java:47
↓ 26 callers
Method
getType
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 callers
Method
getScriptSession
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 callers
Method
getSession
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 callers
Method
isNull
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 callers
Method
jj_consume_token
(int kind)
core/impl/generated/java/org/directwebremoting/json/parse/javacc/JavaccJsonParser.java:542
↓ 24 callers
Method
convertOutbound
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 callers
Method
getContext
Accessor of the context of the variable: the other related variables
core/api/main/java/org/directwebremoting/extend/InboundVariable.java:117
↓ 24 callers
Method
set
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 callers
Method
addFunctionCall
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 callers
Method
assertInboundConversionFailure
(String input, Class<?> convertTo)
core/impl/test/java/org/directwebremoting/convert/AllConverterTest.java:363
↓ 22 callers
Method
close
Closes the given context.
serverside/guice/main/java/org/directwebremoting/guice/util/ContextScope.java:64
↓ 22 callers
Method
publish
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 callers
Method
addScript
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 callers
Method
escapeJavaScript
(String str)
core/api/main/java/org/directwebremoting/util/JavascriptUtil.java:41
↓ 21 callers
Method
getInstance
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 callers
Method
isEmpty
()
core/api/main/java/org/directwebremoting/json/types/JsonArray.java:158
↓ 21 callers
Method
iterator
()
core/api/main/java/org/directwebremoting/extend/Calls.java:92
↓ 21 callers
Method
keySet
()
core/impl/main/java/org/directwebremoting/impl/ContainerMap.java:150
↓ 19 callers
Method
getMessage
@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 callers
Method
next
()
core/api/main/java/org/directwebremoting/util/LocalUtil.java:678
↓ 19 callers
Method
originalDwrClassName
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 callers
Method
setParameter
(ParamName paramName, Object value)
serverside/guice/main/java/org/directwebremoting/guice/InjectedConfig.java:41
↓ 19 callers
Method
setValue
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 callers
Method
getMessage
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 callers
Method
getHttpServletRequest
Accessor for the http request information. @return Returns the request.
core/api/main/java/org/directwebremoting/WebContext.java:85
↓ 17 callers
Method
getId
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 callers
Method
getJavascript
How is this creator referred to in Javascript land? @return A Javascript identifier
core/api/main/java/org/directwebremoting/extend/Creator.java:78
↓ 17 callers
Method
getScriptName
@return Returns the scriptName.
etc/future/scanner/Call.java:112
↓ 17 callers
Method
getString
Returns the contents of the file item as a String.
core/api/main/java/org/directwebremoting/extend/FormField.java:126
↓ 17 callers
Method
lastIndexOf
(Object sought)
core/api/main/java/org/directwebremoting/json/types/JsonArray.java:174
↓ 17 callers
Method
matches
(Method method)
serverside/guice/main/java/org/directwebremoting/guice/util/DeclaredBy.java:39
↓ 16 callers
Method
close
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 callers
Method
hasNext
()
core/api/main/java/org/directwebremoting/util/LocalUtil.java:672
↓ 16 callers
Method
urlDecode
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 callers
Method
getMethods
Returns all logical method declarations for the module. @return array of method declarations
core/api/main/java/org/directwebremoting/extend/Module.java:41
↓ 15 callers
Method
getWriter
()
core/api/main/java/org/directwebremoting/util/FakeHttpServletResponse.java:76
↓ 15 callers
Method
setSource
We might want to warn people about gratuitous source type changes
serverside/various/main/java/org/directwebremoting/jms/DwrMessage.java:821
↓ 15 callers
Method
testPattern
(String pattern, String value, boolean caseInsensitive)
core/api/main/java/org/directwebremoting/datasync/AbstractStoreProvider.java:116
↓ 14 callers
Method
addOption
Helper to prevent lots of cut and paste in adding new options.
ui/dwr/main/java/org/directwebremoting/ui/browser/Window.java:338
↓ 14 callers
Method
getAssignCode
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 callers
Method
getNotifications
()
etc/future/PubSubHubTest.java:113
↓ 14 callers
Method
getProperty
@return a string
core/impl/test/java/org/directwebremoting/convert/test/MyBean.java:26
↓ 14 callers
Method
jjStopAtPos
(int pos, int kind)
core/impl/generated/java/org/directwebremoting/json/parse/javacc/JavaccJsonParserTokenManager.java:214
↓ 14 callers
Method
putIfAbsent
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 callers
Method
readChar
()
core/impl/generated/java/org/directwebremoting/json/parse/javacc/SimpleCharStream.java:230
↓ 14 callers
Method
send
(Message message)
serverside/various/main/java/org/directwebremoting/jms/DwrMessageProducer.java:115
next →
1–100 of 3,670, ranked by callers