Class 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

      Fields 
      Modifier and Type Field Description
      java.lang.String[] consumingMimeType
      The mime-type(s) consumed by this resource method, null if Consumes is not defined
      java.lang.String method
      The HTTP verb being handled, for example GET, DELETE, PUT, POST, HEAD, OPTIONS, null if no HttpMethod is defined
      java.lang.String[] nameBindings
      The NameBinding annotations that apply to this resource method, if any
      java.lang.String path
      The path of this resource method.
      java.lang.String[] producingMimeType
      The mime-type(s) produced by this resource method, null if Produces is not defined
    • Method Summary

      • Methods inherited from class org.osgi.dto.DTO

        toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • method

        public java.lang.String method
        The HTTP verb being handled, for example GET, DELETE, PUT, POST, HEAD, OPTIONS, null if no HttpMethod is defined
      • consumingMimeType

        public java.lang.String[] consumingMimeType
        The mime-type(s) consumed by this resource method, null if Consumes is not defined
      • producingMimeType

        public java.lang.String[] producingMimeType
        The mime-type(s) produced by this resource method, null if Produces is not defined
      • nameBindings

        public java.lang.String[] nameBindings
        The NameBinding annotations that apply to this resource method, if any
      • path

        public java.lang.String path
        The path of this resource method. Placeholder information present in the URI pattern will not be interpreted and simply returned as defined.
    • Constructor Detail

      • ResourceMethodInfoDTO

        public ResourceMethodInfoDTO()