public class SpResponses
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
SpResponses(Responses responses) |
Modifier and Type | Method and Description |
---|---|
AuthResponse |
getAuth() |
CategoriesResponse |
getCategories() |
void |
resetAuthAndBeyond(boolean includePazpar2Responses)
Resets all responses from the authentication request to any request
that can follow authentication.
|
void |
resetInitAndBeyond(boolean includePazpar2Responses)
Resets all responses from the init request to any request
that can follow init (i.e.
|
void |
resetSearchAndBeyond(boolean includePazpar2Responses)
Resets all responses from the search request to any request
that can follow search (i.e.
|
public SpResponses(Responses responses)
public void resetSearchAndBeyond(boolean includePazpar2Responses)
includePazpar2Responses
- Set to true if the invocation should
reset Pazpar2 responses
(non-SP-specific responses) as well.public void resetInitAndBeyond(boolean includePazpar2Responses)
includePazpar2Responses
- Set to true if the invocation should
reset Pazpar2 responses
(non-SP-specific responses) as well.public void resetAuthAndBeyond(boolean includePazpar2Responses)
includePazpar2Responses
- Set to true if the invocation should
reset Pazpar2 responses
(non-SP-specific responses) as well.public AuthResponse getAuth()
public CategoriesResponse getCategories()