public class ExternalURLAdapter extends Object implements URLAdapter
| Constructor and Description |
|---|
ExternalURLAdapter() |
| Modifier and Type | Method and Description |
|---|---|
String |
adapt(String url,
String key,
Map<String,Serializable> context)
adapt an url based on a context
|
protected void |
appendParametersToURL(StringBuffer url,
Map<String,String[]> parameters) |
protected void |
appendParameterToURL(StringBuffer newURL,
String key,
String[] value) |
protected void |
appendSeparator(StringBuffer buffer,
String initialSeparator) |
String |
getId() |
public String adapt(String url, String key, Map<String,Serializable> context) throws org.bonitasoft.engine.commons.exceptions.SExecutionException
URLAdapteradapt in interface URLAdapterurl - the base urlkey - the url keycontext - the provided contextorg.bonitasoft.engine.commons.exceptions.SExecutionException - when the URL rewriting failsprotected void appendParametersToURL(StringBuffer url, Map<String,String[]> parameters) throws org.bonitasoft.engine.commons.exceptions.SExecutionException
org.bonitasoft.engine.commons.exceptions.SExecutionExceptionprotected void appendParameterToURL(StringBuffer newURL, String key, String[] value)
protected void appendSeparator(StringBuffer buffer, String initialSeparator)
public String getId()
getId in interface URLAdapterCopyright © 2019 Bonitasoft S.A.. All rights reserved.