public class ResponseContentTypeEncoderKey extends java.lang.Object implements EncoderKey
| Constructor and Description |
|---|
ResponseContentTypeEncoderKey(java.lang.Class<?> clazz,
MediaType contentType) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
MediaType |
getContentType() |
java.lang.Class<?> |
getObjectClass() |
int |
getSimilarity(EncoderKey key) |
int |
hashCode() |
java.lang.String |
toString() |
public ResponseContentTypeEncoderKey(java.lang.Class<?> clazz,
MediaType contentType)
clazz - The classcontentType - The response content typepublic java.lang.Class<?> getObjectClass()
public MediaType getContentType()
public int getSimilarity(EncoderKey key)
getSimilarity in interface Similar<EncoderKey>public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.