Class HttpOverXmppReq.Builder
java.lang.Object
org.jivesoftware.smackx.hoxt.packet.AbstractHttpOverXmpp.Builder<HttpOverXmppReq.Builder,HttpOverXmppReq>
org.jivesoftware.smackx.hoxt.packet.HttpOverXmppReq.Builder
- Enclosing class:
- HttpOverXmppReq
public static final class HttpOverXmppReq.Builder
extends AbstractHttpOverXmpp.Builder<HttpOverXmppReq.Builder,HttpOverXmppReq>
A configuration builder for HttpOverXmppReq. Use
HttpOverXmppReq.builder()
to obtain a new instance and
build()
to build the configuration.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
protected HttpOverXmppReq.Builder
getThis()
setIbb
(boolean ibb) Sets ibb attribute.setJingle
(boolean jingle) Sets jingle attribute.setMaxChunkSize
(int maxChunkSize) Sets maxChunkSize attribute.setMethod
(HttpMethod method) Sets method attribute.setResource
(String resource) Sets resource attribute.setSipub
(boolean sipub) Sets sipub attribute.Methods inherited from class org.jivesoftware.smackx.hoxt.packet.AbstractHttpOverXmpp.Builder
setData, setHeaders, setVersion
-
Method Details
-
setMethod
Sets method attribute.- Parameters:
method
- attribute- Returns:
- the builder
-
setResource
Sets resource attribute.- Parameters:
resource
- attribute- Returns:
- the builder
-
setJingle
Sets jingle attribute.- Parameters:
jingle
- jingle attribute- Returns:
- the builder
-
setIbb
Sets ibb attribute.- Parameters:
ibb
- ibb attribute- Returns:
- the builder
-
setSipub
Sets sipub attribute.- Parameters:
sipub
- sipub attribute- Returns:
- the builder
-
setMaxChunkSize
Sets maxChunkSize attribute.- Parameters:
maxChunkSize
- maxChunkSize attribute- Returns:
- the builder
-
build
- Specified by:
build
in classAbstractHttpOverXmpp.Builder<HttpOverXmppReq.Builder,
HttpOverXmppReq>
-
getThis
- Specified by:
getThis
in classAbstractHttpOverXmpp.Builder<HttpOverXmppReq.Builder,
HttpOverXmppReq>
-