org.silverpeas.look.web
Class LookResourceURIs

java.lang.Object
  extended by org.silverpeas.look.web.LookResourceURIs

public final class LookResourceURIs
extends Object

Base URIs from which the REST-based ressources representing look entities are defined.

Author:
Yohann Chastagnier

Field Summary
static String DISPLAY_BASE_URI
           
static String DISPLAY_USER_CONTEXT_URI_PART
           
 
Constructor Summary
LookResourceURIs()
           
 
Method Summary
protected static URI buildURI(String uriBase, String... uriPathParts)
          Gets the URI from a given URI base and URI path parts
protected static URI buildURI(javax.ws.rs.core.UriInfo uriInfo, String... uriPathParts)
          Gets the URI from a given UriInfo and URI path parts
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DISPLAY_BASE_URI

public static final String DISPLAY_BASE_URI
See Also:
Constant Field Values

DISPLAY_USER_CONTEXT_URI_PART

public static final String DISPLAY_USER_CONTEXT_URI_PART
See Also:
Constant Field Values
Constructor Detail

LookResourceURIs

public LookResourceURIs()
Method Detail

buildURI

protected static URI buildURI(javax.ws.rs.core.UriInfo uriInfo,
                              String... uriPathParts)
Gets the URI from a given UriInfo and URI path parts

Parameters:
uriInfo -
uriPathParts -
Returns:

buildURI

protected static URI buildURI(String uriBase,
                              String... uriPathParts)
Gets the URI from a given URI base and URI path parts

Parameters:
uriInfo -
uriPathParts -
Returns:


Copyright © 2016 Silverpeas. All Rights Reserved.