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 boolean
equals(java.lang.Object o)
java.util.Set<Representation>
getRepresentations()
int
hashCode()
boolean
isRequestBody()
java.util.Optional<Representation>
representationFor(org.springframework.http.MediaType mediaType)
java.lang.String
toString()
-
-
-
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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-