Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.jersey.spi
Interface HeaderDelegateProvider<T>

Type Parameters:
  `T` - the type of the header.

All Superinterfaces:
  javax.ws.rs.ext.RuntimeDelegate.HeaderDelegate<T>

    public interface HeaderDelegateProvider<T>

extends javax.ws.rs.ext.RuntimeDelegate.HeaderDelegate<T>

A provider that supports the conversion of an HTTP header, of type T, to and from a `String`.

An implementation (a service-provider) identifies itself by placing a provider-configuration file (if not already present), "com.sun.jersey.spi.HeaderDelegateProvider" in the resource directory `META-INF/services`, and including the fully qualified service-provider-class of the implementation in the file.

Author:
  Paul.Sandoz@Sun.Com

Method Summary
`boolean` | `supports(java.lang.Class<?> type)` Ascertain if the Provider supports a particular type.

Methods inherited from interface javax.ws.rs.ext.RuntimeDelegate.HeaderDelegate
`fromString, toString`

Method Detail

### supports

    boolean supports(java.lang.Class<?> type)

  Ascertain if the Provider supports a particular type.

  Parameters:
    `type` - the type that is to be supported.
  Returns:
    true if the type is supported, otherwise false.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008 Sun Microsystems, Inc. All Rights Reserved.