public class CoapResponseAttributesImpl extends CoapResponseAttributes
locationUri, notification, responseCode, responseOptions, responseType, resultlocalAddress, remoteAddress, requestCode, requestOptions, requestType, requestUri| Constructor and Description |
|---|
CoapResponseAttributesImpl()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getRequestHost() |
String |
getRequestPath() |
int |
getRequestPort() |
String |
getRequestQuery() |
String |
getRequestScheme() |
String |
getRequestUri() |
void |
setLocalAddress(String localAddress) |
void |
setLocationUri(String locationUri)
Set the location of a created resource.
|
void |
setNotification(boolean notification) |
void |
setRemoteAddress(String remoteAddress) |
void |
setRequestCode(String requestCode) |
void |
setRequestOptions(RequestOptionsAttributes requestOptionAttributes) |
void |
setRequestType(String requestType)
}
|
void |
setRequestUri(String requestUri) |
void |
setRequestUriObject(URI uri) |
void |
setResponseCode(String responseCode) |
void |
setResponseOptions(ResponseOptionsAttributes responseOptions) |
void |
setResponseType(String responseType) |
void |
setResult(Result result) |
String |
toString() |
getLocationUri, getResponseCode, getResponseOptions, getResponseType, getResult, isClientError, isNoResponse, isNotification, isServerError, isSuccessgetLocalAddress, getRemoteAddress, getRequestCode, getRequestOptions, getRequestTypepublic CoapResponseAttributesImpl()
public void setRequestType(String requestType)
requestType - the requestType to setpublic void setRequestCode(String requestCode)
requestCode - The requestCode to set.public void setLocalAddress(String localAddress)
localAddress - The localAddress to set.public void setRequestUri(String requestUri)
requestUri - The request uri to set.public void setRequestUriObject(URI uri)
uri - The request uri to set.public void setRemoteAddress(String remoteAddress)
remoteAddress - the remoteAddress to setpublic void setNotification(boolean notification)
notification - the notification to setpublic void setResult(Result result)
result - The result to setpublic void setResponseType(String responseType)
responseType - The responseCode to setpublic void setResponseCode(String responseCode)
responseCode - The responseCode to setpublic void setLocationUri(String locationUri)
public void setRequestOptions(RequestOptionsAttributes requestOptionAttributes)
requestOptionAttributes - The options to set.public void setResponseOptions(ResponseOptionsAttributes responseOptions)
responseOptions - The options to setpublic String getRequestUri()
getRequestUri in class Attributespublic String getRequestScheme()
getRequestScheme in class Attributespublic String getRequestHost()
getRequestHost in class Attributespublic int getRequestPort()
getRequestPort in class Attributespublic String getRequestPath()
getRequestPath in class Attributespublic String getRequestQuery()
getRequestQuery in class Attributespublic String toString()
toString in class ObjectObject.toString()Copyright © 2019–2025 Teslanet.nl. All rights reserved.