com.atlassian.confluence.plugins.rest.manager
Class RequestContext

java.lang.Object
  extended by com.atlassian.confluence.plugins.rest.manager.RequestContext

public class RequestContext
extends java.lang.Object


Field Summary
static java.lang.String TYPE_ANONYMOUS_USER
           
static java.lang.String TYPE_ATTACHMENT
           
static java.lang.String TYPE_CONTENT
           
static java.lang.String TYPE_MISSING_USER
           
static java.lang.String TYPE_SPACE
           
static java.lang.String TYPE_USER
           
 
Constructor Summary
RequestContext(com.atlassian.user.User user, javax.ws.rs.core.UriBuilder baseUriBuilder)
           
 
Method Summary
 javax.ws.rs.core.UriBuilder getBaseUriBuilder()
           
 javax.ws.rs.core.UriBuilder getUriBuilder(java.lang.String type)
           
 com.atlassian.user.User getUser()
           
 void setUriBuilder(java.lang.String type, javax.ws.rs.core.UriBuilder uriBuilder)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_CONTENT

public static final java.lang.String TYPE_CONTENT
See Also:
Constant Field Values

TYPE_ATTACHMENT

public static final java.lang.String TYPE_ATTACHMENT
See Also:
Constant Field Values

TYPE_SPACE

public static final java.lang.String TYPE_SPACE
See Also:
Constant Field Values

TYPE_USER

public static final java.lang.String TYPE_USER
See Also:
Constant Field Values

TYPE_ANONYMOUS_USER

public static final java.lang.String TYPE_ANONYMOUS_USER
See Also:
Constant Field Values

TYPE_MISSING_USER

public static final java.lang.String TYPE_MISSING_USER
See Also:
Constant Field Values
Constructor Detail

RequestContext

public RequestContext(com.atlassian.user.User user,
                      javax.ws.rs.core.UriBuilder baseUriBuilder)
Method Detail

setUriBuilder

public void setUriBuilder(java.lang.String type,
                          javax.ws.rs.core.UriBuilder uriBuilder)

getUriBuilder

public javax.ws.rs.core.UriBuilder getUriBuilder(java.lang.String type)

getBaseUriBuilder

public javax.ws.rs.core.UriBuilder getBaseUriBuilder()

getUser

public com.atlassian.user.User getUser()


Copyright © 2003-2014 Atlassian. All Rights Reserved.