Class HttpOverXmppResp.Builder
java.lang.Object
org.jivesoftware.smackx.hoxt.packet.AbstractHttpOverXmpp.Builder<HttpOverXmppResp.Builder,HttpOverXmppResp>
org.jivesoftware.smackx.hoxt.packet.HttpOverXmppResp.Builder
- Enclosing class:
- HttpOverXmppResp
public static final class HttpOverXmppResp.Builder
extends AbstractHttpOverXmpp.Builder<HttpOverXmppResp.Builder,HttpOverXmppResp>
A configuration builder for HttpOverXmppReq. Use
HttpOverXmppResp.builder()
to obtain a new instance and
build()
to build the configuration.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
protected HttpOverXmppResp.Builder
getThis()
setStatusCode
(int statusCode) Sets statusCode attribute.setStatusMessage
(String statusMessage) Sets statusMessage attribute.Methods inherited from class org.jivesoftware.smackx.hoxt.packet.AbstractHttpOverXmpp.Builder
setData, setHeaders, setVersion
-
Method Details
-
setStatusCode
Sets statusCode attribute.- Parameters:
statusCode
- statusCode attribute- Returns:
- the builder
-
setStatusMessage
Sets statusMessage attribute.- Parameters:
statusMessage
- statusMessage attribute- Returns:
- the builder
-
build
- Specified by:
build
in classAbstractHttpOverXmpp.Builder<HttpOverXmppResp.Builder,
HttpOverXmppResp>
-
getThis
- Specified by:
getThis
in classAbstractHttpOverXmpp.Builder<HttpOverXmppResp.Builder,
HttpOverXmppResp>
-