RESTEasy JAX-RS Implementation 2.3.6.Final-redhat-1

org.jboss.resteasy.core
Interface ValueInjector

All Known Implementing Classes:
AbstractCollectionFormInjector, ContextParameterInjector, CookieParamInjector, FormInjector, FormParamInjector, HeaderParamInjector, ListFormInjector, MapFormInjector, MatrixParamInjector, MessageBodyParameterInjector, PathParamInjector, PrefixedFormInjector, QueryParamInjector, SuspendInjector

public interface ValueInjector

Version:
$Revision: 1 $
Author:
Bill Burke

Method Summary
 Object inject()
          Inject outside the context of an HTTP request.
 Object inject(HttpRequest request, HttpResponse response)
          Inject inside the context of an HTTP request.
 

Method Detail

inject

Object inject()
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.

Returns:

inject

Object inject(HttpRequest request,
              HttpResponse response)
Inject inside the context of an HTTP request.

Parameters:
request -
response -
Returns:

RESTEasy JAX-RS Implementation 2.3.6.Final-redhat-1

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.