Class PathParamInjector

java.lang.Object
org.jboss.resteasy.core.PathParamInjector
All Implemented Interfaces:
ValueInjector

public class PathParamInjector extends Object implements ValueInjector
Version:
$Revision: 1 $
  • Field Details

    • extractor

      private StringParameterInjector extractor
    • paramName

      private String paramName
    • encode

      private boolean encode
    • type

      private Class type
    • pathSegment

      private boolean pathSegment
    • pathSegmentArray

      private boolean pathSegmentArray
    • pathSegmentList

      private boolean pathSegmentList
  • Constructor Details

  • Method Details

    • isPathSegmentArray

      private boolean isPathSegmentArray(Class type)
    • isPathSegmentList

      private boolean isPathSegmentList(Class type, Type genericType)
    • inject

      public Object inject(HttpRequest request, HttpResponse response)
      Description copied from interface: ValueInjector
      Inject inside the context of an HTTP request.
      Specified by:
      inject in interface ValueInjector
      Returns:
    • inject

      public Object inject()
      Description copied from interface: ValueInjector
      Inject outside the context of an HTTP request. For instance, a singleton may have proxiable and injectable jax-rs objects like Request, UriInfo, or HttpHeaders.
      Specified by:
      inject in interface ValueInjector
      Returns:
    • flattenToList

      private List<javax.ws.rs.core.PathSegment> flattenToList(List<javax.ws.rs.core.PathSegment[]> list)