|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.mywork.client.ClientUtil
public class ClientUtil
| Constructor Summary | |
|---|---|
ClientUtil()
|
|
| Method Summary | |
|---|---|
static boolean |
credentialsRequired(com.atlassian.applinks.api.ApplicationLink host,
com.atlassian.applinks.api.ApplicationId clientId)
|
static java.util.concurrent.ExecutorService |
newExecutorService(java.lang.String name,
com.atlassian.sal.api.executor.ThreadLocalDelegateExecutorFactory threadLocalDelegateExecutorFactory)
Create an ExecutorService with the following features:
a bounded thread pool
a bounded queue
execution within the same ThreadLocal context as the submitter
|
static java.lang.String |
urlEncode(java.lang.String value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClientUtil()
| Method Detail |
|---|
public static java.lang.String urlEncode(java.lang.String value)
public static java.util.concurrent.ExecutorService newExecutorService(java.lang.String name,
com.atlassian.sal.api.executor.ThreadLocalDelegateExecutorFactory threadLocalDelegateExecutorFactory)
ExecutorService with the following features:
ThreadLocal context as the submitter
name - the name to be given to members of the thread poolthreadLocalDelegateExecutorFactory - a ThreadLocalDelegateExecutorFactory used to wrap the created thread pool
ExecutorService
public static boolean credentialsRequired(com.atlassian.applinks.api.ApplicationLink host,
com.atlassian.applinks.api.ApplicationId clientId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||