/*
 * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
 * ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 *
 * $Id$
 */
package com.sun.ts.tests.jaxrs.spec.resource.annotationprecedence.subclass;

import javax.ws.rs.Consumes;
import javax.ws.rs.DefaultValue;
import javax.ws.rs.MatrixParam;
import javax.ws.rs.PUT;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

import com.sun.ts.tests.jaxrs.spec.resource.annotationprecedence.ResourceInterface;
import com.sun.ts.tests.jaxrs.spec.resource.annotationprecedence.SuperClass;

@Path("resource")
public class Resource extends SuperClass implements ResourceInterface {

	@PUT
	@Path("put")
	@Consumes(MediaType.TEXT_HTML)
	@Produces(MediaType.TEXT_HTML)
	public String get(@DefaultValue("subclass") @MatrixParam("ijk") String param) {
		return param;
	}
}
