package org.osgi.service.jaxrs.runtime.dto;

import org.osgi.dto.DTO;

/**
 * Represents information about a JAX-RS resource method.
 *
 * @NotThreadSafe
 * @author $Id$
 */
public class ResourceMethodInfoDTO extends DTO {

	/**
	 * The HTTP verb being handled, for example GET, DELETE, PUT, POST, HEAD,
	 * OPTIONS
	 */
	public String	method;

	/**
	 * The mime-type(s) consumed by this resource method, null if not defined
	 */
	public String[]	consumingMimeType;

	/**
	 * The mime-type(s) produced by this resource method, null if not defined
	 */
	public String[]	producingMimeType;

	/**
	 * The URI of this sub-resource, null if this is not a sub-resource method
	 */
	public String	uri;
}

package org.osgi.service.jaxrs.runtime.dto;

import org.osgi.dto.DTO;

/**
 * Represents information about a JAX-RS resource method.
 *
 * @NotThreadSafe
 * @author $Id$
 */
public class ResourceMethodInfoDTO extends DTO {

	/**
	 * The HTTP verb being handled, for example GET, DELETE, PUT, POST, HEAD,
	 * OPTIONS
	 */
	String	method;

	/**
	 * The mime-type(s) consumed by this resource method, null if not defined
	 */
	String[]	consumingMimeType;

	/**
	 * The mime-type(s) produced by this resource method, null if not defined
	 */
	String[]	producingMimeType;

	/**
	 * The URI of this sub-resource, null if this is not a sub-resource method
	 */
	String	uri;
}

--- 
+++ 
@@ -14,20 +14,20 @@
 	 * The HTTP verb being handled, for example GET, DELETE, PUT, POST, HEAD,
 	 * OPTIONS
 	 */
-	String	method;
+	public String	method;
 
 	/**
 	 * The mime-type(s) consumed by this resource method, null if not defined
 	 */
-	String[]	consumingMimeType;
+	public String[]	consumingMimeType;
 
 	/**
 	 * The mime-type(s) produced by this resource method, null if not defined
 	 */
-	String[]	producingMimeType;
+	public String[]	producingMimeType;
 
 	/**
 	 * The URI of this sub-resource, null if this is not a sub-resource method
 	 */
-	String	uri;
+	public String	uri;
 }
[JAX-RS] Fix visibility of fields in the ResourceMethodInfo DTO
