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. UseHttpOverXmppReq.builder()
to obtain a new instance andbuild()
to build the configuration.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpOverXmppReq
build()
protected HttpOverXmppReq.Builder
getThis()
HttpOverXmppReq.Builder
setIbb(boolean ibb)
Sets ibb attribute.HttpOverXmppReq.Builder
setJingle(boolean jingle)
Sets jingle attribute.HttpOverXmppReq.Builder
setMaxChunkSize(int maxChunkSize)
Sets maxChunkSize attribute.HttpOverXmppReq.Builder
setMethod(HttpMethod method)
Sets method attribute.HttpOverXmppReq.Builder
setResource(String resource)
Sets resource attribute.HttpOverXmppReq.Builder
setSipub(boolean sipub)
Sets sipub attribute.-
Methods inherited from class org.jivesoftware.smackx.hoxt.packet.AbstractHttpOverXmpp.Builder
setData, setHeaders, setVersion
-
-
-
-
Method Detail
-
setMethod
public HttpOverXmppReq.Builder setMethod(HttpMethod method)
Sets method attribute.- Parameters:
method
- attribute- Returns:
- the builder
-
setResource
public HttpOverXmppReq.Builder setResource(String resource)
Sets resource attribute.- Parameters:
resource
- attribute- Returns:
- the builder
-
setJingle
public HttpOverXmppReq.Builder setJingle(boolean jingle)
Sets jingle attribute.- Parameters:
jingle
- jingle attribute- Returns:
- the builder
-
setIbb
public HttpOverXmppReq.Builder setIbb(boolean ibb)
Sets ibb attribute.- Parameters:
ibb
- ibb attribute- Returns:
- the builder
-
setSipub
public HttpOverXmppReq.Builder setSipub(boolean sipub)
Sets sipub attribute.- Parameters:
sipub
- sipub attribute- Returns:
- the builder
-
setMaxChunkSize
public HttpOverXmppReq.Builder setMaxChunkSize(int maxChunkSize)
Sets maxChunkSize attribute.- Parameters:
maxChunkSize
- maxChunkSize attribute- Returns:
- the builder
-
build
public HttpOverXmppReq build()
- Specified by:
build
in classAbstractHttpOverXmpp.Builder<HttpOverXmppReq.Builder,HttpOverXmppReq>
-
getThis
protected HttpOverXmppReq.Builder getThis()
- Specified by:
getThis
in classAbstractHttpOverXmpp.Builder<HttpOverXmppReq.Builder,HttpOverXmppReq>
-
-