|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.greenhopper.web.AbstractResource com.atlassian.greenhopper.web.remote.RemoteLinkConversationResource
public class RemoteLinkConversationResource
Remote create link creation resource for our internal use only.
Nested Class Summary | |
---|---|
static class |
RemoteLinkConversationResource.TokenStatus
The associaiton of a conversation token and a conversation status. |
Field Summary |
---|
Fields inherited from class com.atlassian.greenhopper.web.AbstractResource |
---|
HTTP_HEADER_GREENHOPPER_GADGET, log |
Constructor Summary | |
---|---|
RemoteLinkConversationResource(RemoteLinkConversationService remoteLinkConversationService)
|
Method Summary | |
---|---|
javax.ws.rs.core.Response |
getNewConversationToken()
Starts a conversation and return the token associated with it. |
javax.ws.rs.core.Response |
listConversationsStatuses(java.util.List<java.lang.String> tokens)
Tries the return a list of RemoteLinkConversationResource.TokenStatus matching the given conversation tokens. |
Methods inherited from class com.atlassian.greenhopper.web.AbstractResource |
---|
check, createErrorResponse, createFromServiceOutcome, createNoContentResponse, createOkResponse, createOkResponse, getUser, isGadgetRequest, nullSafe, response, wireAuthenticationContext, wireI18nFactoryService |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RemoteLinkConversationResource(RemoteLinkConversationService remoteLinkConversationService)
Method Detail |
---|
public javax.ws.rs.core.Response getNewConversationToken()
public javax.ws.rs.core.Response listConversationsStatuses(java.util.List<java.lang.String> tokens)
RemoteLinkConversationResource.TokenStatus
matching the given conversation tokens.
If a given token does not match any existing conversation it is silently ignored.
tokens
- the list of tokens to look for
RemoteLinkConversationResource.TokenStatus
as payload
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |