Class AbstractHttpOverXmpp.Builder<B extends AbstractHttpOverXmpp.Builder<B,C>,C extends AbstractHttpOverXmpp>
java.lang.Object
org.jivesoftware.smackx.hoxt.packet.AbstractHttpOverXmpp.Builder<B,C>
- Type Parameters:
B
- the builder type parameter.C
- the resulting HttpOverXmpp IQ
- Direct Known Subclasses:
HttpOverXmppReq.Builder
,HttpOverXmppResp.Builder
- Enclosing class:
- AbstractHttpOverXmpp
public abstract static class AbstractHttpOverXmpp.Builder<B extends AbstractHttpOverXmpp.Builder<B,C>,C extends AbstractHttpOverXmpp>
extends Object
A builder for XMPP connection configurations.
See ConnectionConfiguration Builder for more details.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract C
build()
protected abstract B
getThis()
Sets Data element.setHeaders
(HeadersExtension headers) Sets Headers element.setVersion
(String version) Sets version attribute.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setData
Sets Data element.- Parameters:
data
- Headers element- Returns:
- the builder
-
setHeaders
Sets Headers element.- Parameters:
headers
- Headers element- Returns:
- the builder
-
setVersion
Sets version attribute.- Parameters:
version
- version attribute- Returns:
- the builder
-
build
-
getThis
-