Package com.xmlcalabash.io
Class InternetProtocolRequest
-
- All Implemented Interfaces:
public final class InternetProtocolRequest
-
-
Field Summary
Fields Modifier and Type Field Description private Integer
timeout
private Pair<Integer, Integer>
httpVersion
private Boolean
statusOnly
private Boolean
suppressCookies
private MediaType
overrideContentType
private Integer
followRedirectCount
private Boolean
sendBodyAnyway
private DocumentProperties
properties
private Map<QName, XdmValue>
parameters
private CookieStore
cookieStore
private final XProcStepConfiguration
stepConfig
private final URI
uri
-
Constructor Summary
Constructors Constructor Description InternetProtocolRequest(XProcStepConfiguration stepConfig, URI uri)
-
Method Summary
-
-
Constructor Detail
-
InternetProtocolRequest
InternetProtocolRequest(XProcStepConfiguration stepConfig, URI uri)
-
-
Method Detail
-
getTimeout
final Integer getTimeout()
-
setTimeout
final Unit setTimeout(Integer timeout)
-
getHttpVersion
final Pair<Integer, Integer> getHttpVersion()
-
setHttpVersion
final Unit setHttpVersion(Pair<Integer, Integer> httpVersion)
-
getStatusOnly
final Boolean getStatusOnly()
-
setStatusOnly
final Unit setStatusOnly(Boolean statusOnly)
-
getSuppressCookies
final Boolean getSuppressCookies()
-
setSuppressCookies
final Unit setSuppressCookies(Boolean suppressCookies)
-
getOverrideContentType
final MediaType getOverrideContentType()
-
setOverrideContentType
final Unit setOverrideContentType(MediaType overrideContentType)
-
getFollowRedirectCount
final Integer getFollowRedirectCount()
-
setFollowRedirectCount
final Unit setFollowRedirectCount(Integer followRedirectCount)
-
getSendBodyAnyway
final Boolean getSendBodyAnyway()
-
setSendBodyAnyway
final Unit setSendBodyAnyway(Boolean sendBodyAnyway)
-
getProperties
final DocumentProperties getProperties()
-
setProperties
final Unit setProperties(DocumentProperties properties)
-
getParameters
final Map<QName, XdmValue> getParameters()
-
setParameters
final Unit setParameters(Map<QName, XdmValue> parameters)
-
getCookieStore
final CookieStore getCookieStore()
-
setCookieStore
final Unit setCookieStore(CookieStore cookieStore)
-
getStepConfig
final XProcStepConfiguration getStepConfig()
-
addSource
final Unit addSource(XProcDocument doc)
-
authentication
final Unit authentication(String method, String username, String password, Boolean preemtive)
-
execute
final InternetProtocolResponse execute(String method)
-
-
-
-