Class ResourceMethodInfoDTO
java.lang.Object
org.osgi.dto.DTO
org.osgi.service.jaxrs.runtime.dto.ResourceMethodInfoDTO
public class ResourceMethodInfoDTO
extends org.osgi.dto.DTO
Represents information about a JAX-RS resource method. All information is
determined by reading the relevant annotations, from the JAX-RS type and not
interpreted further. Dynamic information, or information provided in other
ways may not be represented in this DTO.
-
Field Summary
FieldsModifier and TypeFieldDescriptionString[]The mime-type(s) consumed by this resource method, null ifConsumesis not definedThe HTTP verb being handled, for example GET, DELETE, PUT, POST, HEAD, OPTIONS, null if noHttpMethodis definedString[]TheNameBindingannotations that apply to this resource method, if anyThe path of this resource method.String[]The mime-type(s) produced by this resource method, null ifProducesis not defined -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.osgi.dto.DTO
toString
-
Field Details
-
method
The HTTP verb being handled, for example GET, DELETE, PUT, POST, HEAD, OPTIONS, null if noHttpMethodis defined -
consumingMimeType
The mime-type(s) consumed by this resource method, null ifConsumesis not defined -
producingMimeType
The mime-type(s) produced by this resource method, null ifProducesis not defined -
nameBindings
TheNameBindingannotations that apply to this resource method, if any -
path
The path of this resource method. Placeholder information present in the URI pattern will not be interpreted and simply returned as defined.
-
-
Constructor Details
-
ResourceMethodInfoDTO
public ResourceMethodInfoDTO()
-