com.fatwire.gst.foundation.url
Class WraPathPreviewAssembler

java.lang.Object
  extended by com.fatwire.gst.foundation.url.LightweightAbstractAssembler
      extended by 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
 
Constructor Summary
WraPathPreviewAssembler()
           
 
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 com.fatwire.gst.foundation.url.LightweightAbstractAssembler
constructQueryString, constructURI, decode, decode, encode, excludeFromPackedargs, getProperty, parseQueryString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

protected static final org.apache.commons.logging.Log LOG
Constructor Detail

WraPathPreviewAssembler

public WraPathPreviewAssembler()
Method Detail

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.