JavaScript is disabled on your browser.
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method
javax.ws.rs.container

Interface ResourceInfo



  • public interface ResourceInfo
    An injectable class to access the resource class and resource method matched by the current request. Methods in this class MAY return null if a resource class and method have not been matched, e.g. in a standalone, pre-matching ContainerRequestFilter that was not provided by a post-matching PreMatching.
    Since:
    2.0
    Author:
    Santiago Pericas-Geertsen
    • Method Summary

      All Methods
      Modifier and Type Method and Description
      Class<?> getResourceClass ()
      Get the resource class that is the target of a request, or null if this information is not available.
      Method getResourceMethod ()
      Get the resource method that is the target of a request, or null if this information is not available.
    • Method Detail

      • getResourceMethod

        Method getResourceMethod()
        Get the resource method that is the target of a request, or null if this information is not available.
        Returns:
        resource method instance or null
        See Also:
        getResourceClass()
      • getResourceClass

        Class<?> getResourceClass()
        Get the resource class that is the target of a request, or null if this information is not available.
        Returns:
        resource class instance or null
        See Also:
        getResourceMethod()
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.

AltStyle によって変換されたページ (->オリジナル) /