public final class SatelliteTokenAssembler extends QueryAssembler
| Modifier and Type | Class and Description |
|---|---|
static class |
SatelliteTokenAssembler.STADefinition
This class constructs a special Definition that is designed for use with the SatelliteTokenAssembler.
|
AbstractAssembler.AssemblyContext, AbstractAssembler.DisassemblyContext| Modifier and Type | Field and Description |
|---|---|
static String |
APP_TYPE_PARAM |
static String |
AUTHORITY_PARAM |
static String |
CONTAINER_TYPE_PARAM |
static String |
FRAGMENT_PARAM |
static String |
PREFERRED_ASSEMBLER
Parameter for the preferred assembler
|
static String |
SATELLITE_CONTEXT_PARAM |
static String |
SATELLITE_FRAGMENT
Value always passed as the fragment into SatelliteTokenAssembler URIs.
|
static String |
SATELLITE_SCHEME
Value always passed as the scheme into SatelliteTokenAssembler URIs
|
static String |
SATELLITE_TOKEN
This string is a token that will appear in every URI assembled by this assembler.
|
static String |
SCHEME_PARAM |
static String |
SESSION_ENCODE_PARAM |
PAGENAMEBASE_NAME, LOG_NAME, PROP_PATH_PREFIX, PROP_URIBASE_BLOB_SERVER, PROP_URIBASE_CACHE_SERVER, PROP_URIBASE_CATALOG_MANAGER, PROP_URIBASE_CONTENT_SERVER, PROP_URIBASE_COOKIE_SERVER, PROP_URIBASE_DISPATCH_MANAGER, PROP_URIBASE_PAGE_DISPATCH_SERVER, PROP_URIBASE_SATELLITE_SERVER, PROP_URIBASE_SEED_DISPATCH_SERVER, PROP_URIBASE_SYNC_SEED_DISPATCH_SERVER, PROP_URIBASE_TREE_MANAGER| Constructor and Description |
|---|
SatelliteTokenAssembler() |
| Modifier and Type | Method and Description |
|---|---|
Definition |
disassemble(URI uri, Definition.ContainerType ct)
This method disassembles a URI into its components, constructing a Definition object to provide conveniece accessors to the data encoded in the URI.
|
protected AbstractAssembler.AssemblyContext |
getAssemblyContext(Definition def)
Returns an assembly context object given the input definition.
|
String |
getAuthority(AbstractAssembler.AssemblyContext def)
Get the authority for this URI
|
String |
getFragment(AbstractAssembler.AssemblyContext def)
Returns the fragment for this URI.
|
String |
getPath(AbstractAssembler.AssemblyContext def)
This method returns the path for the URI given the definition specified.
|
String |
getScheme(AbstractAssembler.AssemblyContext def)
Returns the scheme (protocol) for the assembly context specified.
|
getAppType, getAuthority, getFragment, getPathForApp, getPathForSatelliteServer, getQuery, getQuery, getSatelliteContext, getScheme, getSessionEncodeassemble, decode, decode, encode, getDisassemblyContext, getLog, getProperty, parseQueryString, setPropertiespublic static String SATELLITE_SCHEME
public static String SATELLITE_FRAGMENT
public static String SATELLITE_TOKEN
public static String PREFERRED_ASSEMBLER
public static String SCHEME_PARAM
public static String AUTHORITY_PARAM
public static String CONTAINER_TYPE_PARAM
public static String APP_TYPE_PARAM
public static String FRAGMENT_PARAM
public static String SESSION_ENCODE_PARAM
public static String SATELLITE_CONTEXT_PARAM
protected AbstractAssembler.AssemblyContext getAssemblyContext(Definition def)
AbstractAssemblergetAssemblyContext in class AbstractAssemblerdef - input definitionAbstractAssembler.AssemblyContextpublic String getScheme(AbstractAssembler.AssemblyContext def)
AbstractAssemblergetScheme in class QueryAssemblerdef - Assembly context objectpublic String getAuthority(AbstractAssembler.AssemblyContext def)
QueryAssemblergetAuthority in class QueryAssemblerdef - a definitionpublic String getPath(AbstractAssembler.AssemblyContext def)
QueryAssemblergetPath in class QueryAssemblerdef - definitionpublic String getFragment(AbstractAssembler.AssemblyContext def)
QueryAssemblergetFragment in class QueryAssemblerdef - definitionpublic Definition disassemble(URI uri, Definition.ContainerType ct) throws URISyntaxException
disassemble in interface Assemblerdisassemble in class AbstractAssembleruri - URI to disassemblect - the type of the container that this URL is being generated for.URISyntaxException - throws URISyntaxExceptionDefinition, Definition.ContainerType