public class RemoteHTTPTransformer extends DocumentProcessor implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
RemoteHTTPTransformer.ArgMapping |
DocumentProcessor.FromDataModel, DocumentProcessor.Transformer<T>
Modifier and Type | Field and Description |
---|---|
protected RemoteHTTPTransformer.ArgMapping |
argMapping |
int |
httpIdleTimeoutMs |
java.lang.String |
remoteUrl |
int |
timeoutMs |
acceptCondition, dataModelClass, dataModelProperty, dataModelState, DEFAULT_DISABLED, disabled, fromDataModel, name
Constructor and Description |
---|
RemoteHTTPTransformer() |
RemoteHTTPTransformer(RemoteHTTPTransformer o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
<T> T |
accept(DocumentProcessor.Transformer<T> transformer,
T[] t) |
void |
check(boolean deep,
java.lang.String errorContext)
Checks this RemoteHTTPTransformer.
|
static RemoteHTTPTransformer |
fromString(java.lang.String s)
String representation of this RemoteHTTPTransformer.
|
RemoteHTTPTransformer.ArgMapping |
getArgMapping() |
int |
getHttpIdleTimeoutMs()
Cached HTTP connection idle timeout.
|
java.lang.String |
getRemoteUrl()
Remote URL
|
int |
getTimeoutMs()
Remote processor timeout, in milliseconds.
This is the timeout. |
RemoteHTTPTransformer |
makeCopy()
Creates and returns a deep copy of this RemoteHTTPTransformer.
|
static RemoteHTTPTransformer |
readFrom(java.io.InputStream is)
Read this RemoteHTTPTransformer from an XML fragment.
|
void |
setArgMapping(RemoteHTTPTransformer.ArgMapping __value) |
void |
setHttpIdleTimeoutMs(int httpIdleTimeoutMs)
Cached HTTP connection idle timeout.
|
void |
setRemoteUrl(java.lang.String remoteUrl)
Remote URL
|
void |
setTimeoutMs(int timeoutMs)
Remote processor timeout, in milliseconds.
This is the timeout. |
java.lang.String |
toString()
String representation of this RemoteHTTPTransformer.
|
RemoteHTTPTransformer |
withAcceptCondition(AcceptCondition acceptCondition) |
RemoteHTTPTransformer |
withArgMapping(java.util.Collection<RemoteHTTPTransformerRemoteArgMapping> __values) |
RemoteHTTPTransformer |
withArgMapping(RemoteHTTPTransformer.ArgMapping __value) |
RemoteHTTPTransformer |
withArgMapping(RemoteHTTPTransformerRemoteArgMapping... __values) |
RemoteHTTPTransformer |
withDataModelClass(java.lang.String dataModelClass) |
RemoteHTTPTransformer |
withDataModelProperty(java.lang.String dataModelProperty) |
RemoteHTTPTransformer |
withDataModelState(java.lang.String dataModelState) |
RemoteHTTPTransformer |
withDisabled(boolean disabled) |
RemoteHTTPTransformer |
withDisabled(java.lang.Boolean disabled) |
RemoteHTTPTransformer |
withFromDataModel(DocumentProcessor fromDataModel) |
RemoteHTTPTransformer |
withHttpIdleTimeoutMs(int httpIdleTimeoutMs) |
RemoteHTTPTransformer |
withHttpIdleTimeoutMs(java.lang.Integer httpIdleTimeoutMs) |
RemoteHTTPTransformer |
withName(java.lang.String name) |
RemoteHTTPTransformer |
withRemoteUrl(java.lang.String remoteUrl) |
RemoteHTTPTransformer |
withTimeoutMs(int timeoutMs) |
RemoteHTTPTransformer |
withTimeoutMs(java.lang.Integer timeoutMs) |
void |
writeTo(java.io.OutputStream os)
Write this RemoteHTTPTransformer as an XML fragment
|
getAcceptCondition, getDataModelClass, getDataModelProperty, getDataModelState, getFromDataModel, getName, isDisabled, setAcceptCondition, setDataModelClass, setDataModelProperty, setDataModelState, setDisabled, setFromDataModel, setName
public java.lang.String remoteUrl
public int timeoutMs
public int httpIdleTimeoutMs
protected RemoteHTTPTransformer.ArgMapping argMapping
public RemoteHTTPTransformer()
public RemoteHTTPTransformer(RemoteHTTPTransformer o)
public RemoteHTTPTransformer withAcceptCondition(AcceptCondition acceptCondition)
withAcceptCondition
in class DocumentProcessor
public RemoteHTTPTransformer withName(java.lang.String name)
withName
in class DocumentProcessor
public RemoteHTTPTransformer withDataModelState(java.lang.String dataModelState)
withDataModelState
in class DocumentProcessor
public RemoteHTTPTransformer withFromDataModel(DocumentProcessor fromDataModel)
public RemoteHTTPTransformer withDataModelClass(java.lang.String dataModelClass)
withDataModelClass
in class DocumentProcessor
public RemoteHTTPTransformer withDataModelProperty(java.lang.String dataModelProperty)
withDataModelProperty
in class DocumentProcessor
public RemoteHTTPTransformer withDisabled(boolean disabled)
withDisabled
in class DocumentProcessor
public RemoteHTTPTransformer withDisabled(java.lang.Boolean disabled)
withDisabled
in class DocumentProcessor
public void setRemoteUrl(java.lang.String remoteUrl)
public java.lang.String getRemoteUrl()
public RemoteHTTPTransformer withRemoteUrl(java.lang.String remoteUrl)
public void setTimeoutMs(int timeoutMs)
public int getTimeoutMs()
public RemoteHTTPTransformer withTimeoutMs(int timeoutMs)
public RemoteHTTPTransformer withTimeoutMs(java.lang.Integer timeoutMs)
public void setHttpIdleTimeoutMs(int httpIdleTimeoutMs)
public int getHttpIdleTimeoutMs()
public RemoteHTTPTransformer withHttpIdleTimeoutMs(int httpIdleTimeoutMs)
public RemoteHTTPTransformer withHttpIdleTimeoutMs(java.lang.Integer httpIdleTimeoutMs)
public RemoteHTTPTransformer.ArgMapping getArgMapping()
public void setArgMapping(RemoteHTTPTransformer.ArgMapping __value)
public RemoteHTTPTransformer withArgMapping(RemoteHTTPTransformerRemoteArgMapping... __values)
public RemoteHTTPTransformer withArgMapping(java.util.Collection<RemoteHTTPTransformerRemoteArgMapping> __values)
public RemoteHTTPTransformer withArgMapping(RemoteHTTPTransformer.ArgMapping __value)
public RemoteHTTPTransformer makeCopy()
makeCopy
in class DocumentProcessor
public static RemoteHTTPTransformer readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
writeTo
in class DocumentProcessor
javax.xml.bind.JAXBException
java.io.IOException
public static RemoteHTTPTransformer fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class DocumentProcessor
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class DocumentProcessor
com.exalead.util.TypedException
public <T> T accept(DocumentProcessor.Transformer<T> transformer, T[] t) throws com.exalead.util.TypedException
accept
in class DocumentProcessor
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.