com.fatwire.gst.foundation.url
Class WraPathPreviewAssembler
java.lang.Object
com.fatwire.gst.foundation.url.LightweightAbstractAssembler
com.fatwire.gst.foundation.url.WraPathPreviewAssembler
- All Implemented Interfaces:
- com.fatwire.cs.core.uri.Assembler
public final class WraPathPreviewAssembler
- extends LightweightAbstractAssembler
A dispatching assembler, dispatching to Web-referenceable asset path
assembler only invoked if rendermode=live of blank, in other cases to the
QueryAssembler.
- Since:
- November 16,2011
- Author:
- Dolf Dijkstra
Field Summary |
protected static org.apache.commons.logging.Log |
LOG
|
Fields inherited from interface com.fatwire.cs.core.uri.Assembler |
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 |
Method Summary |
URI |
assemble(com.fatwire.cs.core.uri.Definition definition)
Looks for virtual-webroot and url-path. |
com.fatwire.cs.core.uri.Definition |
disassemble(URI uri,
com.fatwire.cs.core.uri.Definition.ContainerType containerType)
|
com.fatwire.cs.core.uri.Assembler |
getTheBackupAssembler()
|
void |
setProperties(Properties properties)
Set properties, initializing the assembler |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOG
protected static final org.apache.commons.logging.Log LOG
WraPathPreviewAssembler
public WraPathPreviewAssembler()
setProperties
public void setProperties(Properties properties)
- Set properties, initializing the assembler
- Specified by:
setProperties
in interface com.fatwire.cs.core.uri.Assembler
- Overrides:
setProperties
in class LightweightAbstractAssembler
- Parameters:
properties
- configuration properties
assemble
public URI assemble(com.fatwire.cs.core.uri.Definition definition)
throws URISyntaxException
- Looks for virtual-webroot and url-path. If found, concatenates
virtual-webroot and url-path. Once core query params are suppressed, the
remaining params are appended to the URL.
- Parameters:
definition
-
- Returns:
- valid URI
- Throws:
URISyntaxException
disassemble
public com.fatwire.cs.core.uri.Definition disassemble(URI uri,
com.fatwire.cs.core.uri.Definition.ContainerType containerType)
throws URISyntaxException
- Throws:
URISyntaxException
getTheBackupAssembler
public com.fatwire.cs.core.uri.Assembler getTheBackupAssembler()
Copyright © 2010-2013 Oracle Corporation. All Rights Reserved.