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. UseHttpOverXmppResp.builder()
to obtain a new instance andbuild()
to build the configuration.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpOverXmppResp
build()
protected HttpOverXmppResp.Builder
getThis()
HttpOverXmppResp.Builder
setStatusCode(int statusCode)
Sets statusCode attribute.HttpOverXmppResp.Builder
setStatusMessage(java.lang.String statusMessage)
Sets statusMessage attribute.-
Methods inherited from class org.jivesoftware.smackx.hoxt.packet.AbstractHttpOverXmpp.Builder
setData, setHeaders, setVersion
-
-
-
-
Method Detail
-
setStatusCode
public HttpOverXmppResp.Builder setStatusCode(int statusCode)
Sets statusCode attribute.- Parameters:
statusCode
- statusCode attribute- Returns:
- the builder
-
setStatusMessage
public HttpOverXmppResp.Builder setStatusMessage(java.lang.String statusMessage)
Sets statusMessage attribute.- Parameters:
statusMessage
- statusMessage attribute- Returns:
- the builder
-
build
public HttpOverXmppResp build()
- Specified by:
build
in classAbstractHttpOverXmpp.Builder<HttpOverXmppResp.Builder,HttpOverXmppResp>
-
getThis
protected HttpOverXmppResp.Builder getThis()
- Specified by:
getThis
in classAbstractHttpOverXmpp.Builder<HttpOverXmppResp.Builder,HttpOverXmppResp>
-
-