Class AbstractRestPublishService.MappingInfo

    • Constructor Detail

      • MappingInfo

        public MappingInfo()
        Create a new mapping info.
    • Method Detail

      • getMethod

        public java.lang.reflect.Method getMethod()
        Get the method.
        Returns:
        The method
      • setMethod

        public void setMethod​(java.lang.reflect.Method method)
        Set the method.
        Parameters:
        method - The method to set
      • getPath

        public java.lang.String getPath()
        Get the path.
        Returns:
        The path
      • setPath

        public void setPath​(java.lang.String path)
        Set the path.
        Parameters:
        path - The path to set
      • isEmpty

        public boolean isEmpty()
        Test if has no settings.
      • getParameterNames

        public java.util.List<java.lang.String> getParameterNames()
        Get the declared parameter names (via annotation ParameterInfo).
        Returns:
        The parameter names.
      • getConsumedMediaTypes

        public java.util.List<java.lang.String> getConsumedMediaTypes()
        Get the consumed media types.
        Returns:
        The types.
      • getProducedMediaTypes

        public java.util.List<java.lang.String> getProducedMediaTypes()
        Get the produced media types.
        Returns:
        The types.