public class HttpMethodCallPostProcessor extends AbstractPublishingProcessor
PublishingProcessor that does an HTTP method call to a specified URL. Any occurrences of {siteName} are
replaced by the current site name, or the one specified as a property.| Modifier and Type | Class and Description |
|---|---|
static class |
HttpMethodCallPostProcessor.Method |
| Modifier and Type | Field and Description |
|---|---|
protected HttpMethodCallPostProcessor.Method |
method |
protected String |
siteName |
protected String |
url |
name, orderSITE_NAME_PREVIEW| Constructor and Description |
|---|
HttpMethodCallPostProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.commons.httpclient.HttpMethod |
createHttpMethod(String url) |
void |
doProcess(PublishedChangeSet changeSet,
Map<String,String> parameters,
org.craftercms.core.service.Context context,
PublishingTarget target)
process files published
|
HttpMethodCallPostProcessor.Method |
getMethod() |
String |
getName()
get the process's name
|
String |
getSiteName() |
String |
getUrl() |
void |
setMethod(HttpMethodCallPostProcessor.Method method) |
void |
setSiteName(String siteName) |
void |
setUrl(String url) |
getOrder, setBeanName, setOrderprotected HttpMethodCallPostProcessor.Method method
protected String url
protected String siteName
public HttpMethodCallPostProcessor.Method getMethod()
public void setMethod(HttpMethodCallPostProcessor.Method method)
public String getUrl()
public void setUrl(String url)
public String getSiteName()
public void setSiteName(String siteName)
public void doProcess(PublishedChangeSet changeSet, Map<String,String> parameters, org.craftercms.core.service.Context context, PublishingTarget target) throws PublishingException
PublishingProcessorPublishingExceptionpublic String getName()
PublishingProcessorgetName in interface PublishingProcessorgetName in class AbstractPublishingProcessorprotected org.apache.commons.httpclient.HttpMethod createHttpMethod(String url)
Copyright © 2017 CrafterCMS. All rights reserved.