Example usage for org.springframework.web.reactive.result.condition AbstractMediaTypeExpression getMediaType

List of usage examples for org.springframework.web.reactive.result.condition AbstractMediaTypeExpression getMediaType

Introduction

In this page you can find the example usage for org.springframework.web.reactive.result.condition AbstractMediaTypeExpression getMediaType.

Prototype

@Override
    public MediaType getMediaType() 

Source Link

Usage

From source file:org.springframework.web.reactive.result.condition.AbstractMediaTypeExpression.java

@Override
public int compareTo(AbstractMediaTypeExpression other) {
    return MediaType.SPECIFICITY_COMPARATOR.compare(this.getMediaType(), other.getMediaType());
}