@Valid public class SpecialContext extends Context
| Modifier and Type | Class and Description |
|---|---|
static class |
SpecialContext.Builder
Class implements builder to create a new instance of class
SpecialContext. |
| Modifier | Constructor and Description |
|---|---|
protected |
SpecialContext()
Default constructor is only intended to be used for deserialization by tools like Jackson for JSON.
|
protected |
SpecialContext(SpecialContext.Builder pBuilder)
Initialize object using the passed builder.
|
| Modifier and Type | Method and Description |
|---|---|
static SpecialContext.Builder |
builder()
Method returns a new builder.
|
static SpecialContext.Builder |
builder(SpecialContext pObject)
Method creates a new builder and initialize it with the data from the passed object.
|
static SpecialContext.Builder |
builder(String pAccessToken,
Locale pLanguage,
long pResellerID,
long pPathParam,
String pQueryParam,
String pSpecificHeader)
Method creates a new builder and initializes it with the passed attributes.
|
String |
getSpecificHeader()
Method returns attribute
specificHeader. |
void |
setSpecificHeader(String pSpecificHeader)
Method sets attribute
specificHeader. |
String |
toString()
Method creates a new String with the values of all attributes of this class.
|
StringBuilder |
toStringBuilder(String pIndent)
Method returns a StringBuilder that can be used to create a String representation of this object.
|
addCustomHeader, builder, builder, getAccessToken, getCustomHeaders, getLanguage, getPathParam, getQueryParam, getResellerID, setAccessToken, setLanguage, setPathParam, setQueryParam, setResellerIDprotected SpecialContext()
protected SpecialContext(SpecialContext.Builder pBuilder)
pBuilder - Builder that should be used to initialize this object. The parameter must not be null.public static SpecialContext.Builder builder()
SpecialContext.Builder New builder that can be used to create new SpecialContext objects.public static SpecialContext.Builder builder(SpecialContext pObject)
pObject - Object that should be used to initialize the builder. The parameter may be null.SpecialContext.Builder New builder that can be used to create new SpecialContext objects. The method never returns
null.public static SpecialContext.Builder builder(String pAccessToken, Locale pLanguage, long pResellerID, long pPathParam, String pQueryParam, String pSpecificHeader)
public String getSpecificHeader()
specificHeader.String Value to which specificHeader is set.public void setSpecificHeader(String pSpecificHeader)
specificHeader.pSpecificHeader - Value to which specificHeader should be set.public StringBuilder toStringBuilder(String pIndent)
toStringBuilder in class ContextStringBuilder StringBuilder representing this object. The method never returns null.Copyright © 2023. All rights reserved.