Package springfox.documentation.service
Class ContentSpecification
- java.lang.Object
-
- springfox.documentation.service.ContentSpecification
-
public class ContentSpecification extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ContentSpecification(boolean requestBody, java.util.Set<Representation> representations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.util.Set<Representation>getRepresentations()inthashCode()booleanisRequestBody()java.util.Optional<Representation>representationFor(org.springframework.http.MediaType mediaType)java.lang.StringtoString()
-
-
-
Constructor Detail
-
ContentSpecification
public ContentSpecification(boolean requestBody, java.util.Set<Representation> representations)
-
-
Method Detail
-
getRepresentations
public java.util.Set<Representation> getRepresentations()
-
representationFor
public java.util.Optional<Representation> representationFor(org.springframework.http.MediaType mediaType)
-
isRequestBody
public boolean isRequestBody()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-