Spring Framework ProducesRequestCondition - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Spring Framework ProducesRequestCondition class.

This code example shows how to use the following methods:hashCode
	@Override 
	public int hashCode() { 
		return (this.patternsCondition.hashCode() * 31 +  // primary differentiation 
				this.methodsCondition.hashCode() + this.paramsCondition.hashCode() + 
				this.headersCondition.hashCode() + this.consumesCondition.hashCode() + 
				this.producesCondition.hashCode() + this.customConditionHolder.hashCode()); 
	} 
 
	@Override 
	public String toString() { 
		StringBuilder builder = new StringBuilder("{"); 
		builder.append(this.patternsCondition); 
		builder.append(",methods=").append(this.methodsCondition); 
		builder.append(",params=").append(this.paramsCondition); 
		builder.append(",headers=").append(this.headersCondition); 
		builder.append(",consumes=").append(this.consumesCondition); 
		builder.append(",produces=").append(this.producesCondition); 
		builder.append(",custom=").append(this.customConditionHolder); 
		builder.append('}'); 
		return builder.toString(); 
5
CodeRank