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
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract C
build()
protected abstract B
getThis()
B
setData(AbstractHttpOverXmpp.Data data)
Sets Data element.B
setHeaders(HeadersExtension headers)
Sets Headers element.B
setVersion(String version)
Sets version attribute.
-
-
-
Constructor Detail
-
Builder
public Builder()
-
-
Method Detail
-
setData
public B setData(AbstractHttpOverXmpp.Data data)
Sets Data element.- Parameters:
data
- Headers element- Returns:
- the builder
-
setHeaders
public B setHeaders(HeadersExtension headers)
Sets Headers element.- Parameters:
headers
- Headers element- Returns:
- the builder
-
setVersion
public B setVersion(String version)
Sets version attribute.- Parameters:
version
- version attribute- Returns:
- the builder
-
-