|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.ws.rest.spi.header.HeaderFactory
public final class HeaderFactory
Factory for getting HeaderProvider
instances.
Constructor Summary | |
---|---|
HeaderFactory()
|
Method Summary | ||
---|---|---|
static
|
getHeaderProvider(java.lang.Class<T> type)
Get a HeaderProvider that supports the type (or Class )
requested. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HeaderFactory()
Method Detail |
---|
public static <T> HeaderProvider<T> getHeaderProvider(java.lang.Class<T> type) throws java.lang.IllegalArgumentException
HeaderProvider
that supports the type (or Class
)
requested.
The list of service-provider supporting the HeaderProvider
service-provider will be iterated over until the first one supports the type
is found.
type
- the supporting type.
HeaderProvider
supporting the type.
java.lang.IllegalArgumentException
- if a header provider cannot be found for the supplied type
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |