org.jboss.resteasy.plugins.stats.ResourceMethodEntry Maven / Gradle / Ivy
package org.jboss.resteasy.plugins.stats;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import java.util.ArrayList;
import java.util.List;
/**
* <
*
* @author Bill Burke
* @version $Revision: 1 $
*/
@XmlRootElement(name = "error")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlSeeAlso({GetResourceMethod.class, DeleteResourceMethod.class, HeadResourceMethod.class, OptionsResourceMethod.class, PostResourceMethod.class, PutResourceMethod.class, TraceResourceMethod.class})
public class ResourceMethodEntry
{
@XmlAttribute(name = "class")
private String clazz;
@XmlAttribute
private String method;
@XmlAttribute
private long invocations;
@XmlElement
private List produces = new ArrayList();
@XmlElement
private List consumes = new ArrayList();
public String getClazz()
{
return clazz;
}
public String getMethod()
{
return method;
}
public long getInvocations()
{
return invocations;
}
public void setClazz(String clazz)
{
this.clazz = clazz;
}
public void setMethod(String method)
{
this.method = method;
}
public void setInvocations(long invocations)
{
this.invocations = invocations;
}
public List getProduces()
{
return produces;
}
public List getConsumes()
{
return consumes;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy