IT. Expert System.

Java Enterprise Edition (EE)

ContextResolver


javax.ws.rs.ext
Interface ContextResolver<T>

public interface ContextResolver<T>

Contract for a provider that supplies context information to resource classes and other providers. An implementation of this interface must be annotated with Provider. A ContextResolver implementation may be annotated with Produces to restrict the media types for which it will be considered suitable.

See Also:
Context, Providers#getContextResolver(java.lang.Class, javax.ws.rs.core.MediaType), Provider, Produces

Method Summary
 T getContext(java.lang.Class<?> type)
          Get a context of type T that is applicable to the supplied type.
 

Method Detail

getContext

T getContext(java.lang.Class<?> type)
Get a context of type T that is applicable to the supplied type.

Parameters:
type - the class of object for which a context is desired
Returns:
a context for the supplied type or null if a context for the supplied type is not available from this provider.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 2418 / . Delta: 0.00655 с