public class RequestOptionsAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
accept
Accept option set on the request.
|
protected Integer |
contentFormat
Content format of the request payload.
|
protected List<BytesValue> |
etags
Resource states known by client that issues the request.
|
protected boolean |
ifExists
If
true, execute request only if the resource already exists. |
protected List<BytesValue> |
ifMatch
Execute request only if the resource state is known by client.
|
protected boolean |
ifNoneMatch
If
true, execute request only if the resource does not exist. |
protected Integer |
observe
The request is an observe request (observe=0) or an observe cancel request (observe=1)
|
protected List<OtherOptionAttribute> |
other
The other options of the request.
|
protected boolean |
provideResponseSize
If
true, client requests to provide size2 option in the response
(indicating response payload size). |
protected String |
proxyScheme
The scheme to use when the server is a forwarding proxy.
|
protected String |
proxyUri
The uri to use when the server is a forwarding proxy.
|
protected Integer |
requestSize
The indicated request payload size [bytes].
|
protected String |
uriHost
The request uri host.
|
protected List<String> |
uriPath
The request uri host path.
|
protected Integer |
uriPort
The request uri port..
|
protected List<QueryParamAttribute> |
uriQuery
The request uri query parameters.
|
| Constructor and Description |
|---|
RequestOptionsAttributes() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getAccept() |
Integer |
getContentFormat() |
List<BytesValue> |
getEtags()
This method always returns null.
|
List<BytesValue> |
getIfMatch()
This method always returns null.
|
Integer |
getObserve()
This method always returns null.
|
List<OtherOptionAttribute> |
getOther() |
String |
getProxyScheme() |
String |
getProxyUri() |
Integer |
getRquestSize() |
String |
getUriHost()
This method always returns null.
|
List<String> |
getUriPath()
This method always returns null.
|
Integer |
getUriPort()
This method always returns null.
|
List<QueryParamAttribute> |
getUriQuery() |
boolean |
isIfExists() |
boolean |
isIfNoneMatch() |
boolean |
isProvideResponseSize() |
protected Integer accept
protected Integer contentFormat
protected List<BytesValue> etags
protected boolean ifExists
true, execute request only if the resource already exists.protected List<BytesValue> ifMatch
protected boolean ifNoneMatch
true, execute request only if the resource does not exist.protected Integer observe
protected List<OtherOptionAttribute> other
protected boolean provideResponseSize
true, client requests to provide size2 option in the response
(indicating response payload size).protected String proxyScheme
protected String proxyUri
protected Integer requestSize
protected String uriHost
protected Integer uriPort
protected List<QueryParamAttribute> uriQuery
public boolean isIfExists()
public List<BytesValue> getIfMatch()
public String getUriHost()
public List<BytesValue> getEtags()
public boolean isIfNoneMatch()
public Integer getUriPort()
public Integer getContentFormat()
public List<QueryParamAttribute> getUriQuery()
public Integer getAccept()
public boolean isProvideResponseSize()
public String getProxyUri()
public String getProxyScheme()
public Integer getRquestSize()
public Integer getObserve()
public List<OtherOptionAttribute> getOther()
Copyright © 2019–2025 Teslanet.nl. All rights reserved.