public class RequestOptionsParams extends Object
| Constructor and Description |
|---|
RequestOptionsParams() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getAccept() |
Integer |
getContentFormat() |
List<EntityTag> |
getEntityTagOptions() |
List<EntityTag> |
getIfMatchOptions()
The If-Match option contains an ETag value or a collection of ETag values.
|
List<OtherOption> |
getOtherOptions() |
Integer |
getRequestSize() |
boolean |
isIfExists() |
boolean |
isIfNoneMatch() |
boolean |
isRequireResponseSize() |
void |
setAccept(Integer accept) |
void |
setContentFormat(Integer contentFormat) |
void |
setEntityTagOptions(List<EntityTag> entityTagOptions) |
void |
setIfExists(boolean ifExists) |
void |
setIfMatchOptions(List<EntityTag> ifMatchOptions) |
void |
setIfNoneMatch(boolean ifNoneMatch) |
void |
setOtherRequestOptions(List<OtherOption> otherOptions) |
void |
setRequestSize(Integer size1) |
void |
setRequireResponseSize(boolean requireResponseSize) |
public boolean isIfExists()
public void setIfExists(boolean ifExists)
ifExists - The ifExists option to set.public List<EntityTag> getIfMatchOptions()
public void setIfMatchOptions(List<EntityTag> ifMatchOptions)
ifMatchOptions - the ifMatch options to set.public void setEntityTagOptions(List<EntityTag> entityTagOptions)
entityTagOptions - The entity tag options to set.public boolean isIfNoneMatch()
public void setIfNoneMatch(boolean ifNoneMatch)
ifNoneMatch - the ifNoneMatch to setpublic Integer getContentFormat()
public void setContentFormat(Integer contentFormat)
contentFormat - The contentFormat option to set.public Integer getAccept()
public void setAccept(Integer accept)
accept - the accept to setpublic boolean isRequireResponseSize()
public void setRequireResponseSize(boolean requireResponseSize)
requireResponseSize - The requireResponseSize option to set.public Integer getRequestSize()
public void setRequestSize(Integer size1)
size1 - The size1 option to set.public List<OtherOption> getOtherOptions()
public void setOtherRequestOptions(List<OtherOption> otherOptions)
otherOptions - the other options to setCopyright © 2019–2024 Teslanet.nl. All rights reserved.