Problem.ExtendedProblem<T>| Modifier and Type | Method and Description |
|---|---|
T |
getProperties()
Returns the additional properties.
|
Problem.ExtendedProblem<T> |
withDetail(String detail) |
Problem.ExtendedProblem<T> |
withInstance(URI instance) |
<S> Problem.ExtendedProblem<S> |
withProperties(S payload)
Creates a new
Problem.ExtendedProblem with the given payload as additional properties. |
Problem.ExtendedProblem<T> |
withTitle(String title) |
Problem.ExtendedProblem<T> |
withType(URI type) |
create, create, statusOnly, withProperties, withPropertiespublic Problem.ExtendedProblem<T> withType(@Nullable URI type)
public Problem.ExtendedProblem<T> withTitle(@Nullable String title)
public Problem.ExtendedProblem<T> withDetail(@Nullable String detail)
public Problem.ExtendedProblem<T> withInstance(@Nullable URI instance)
public T getProperties()
public <S> Problem.ExtendedProblem<S> withProperties(S payload)
ProblemProblem.ExtendedProblem with the given payload as additional properties.withProperties in class Problempayload - must not be null.Copyright © 2011–2020 Pivotal, Inc.. All rights reserved.