@Provider public class WeblinkProvider extends com.sun.jersey.server.impl.inject.AbstractHttpContextInjectable<WeblinkParameter> implements com.sun.jersey.spi.inject.InjectableProvider<javax.ws.rs.core.Context,Type>
WeblinkParameter
object from the HttpContext. The
Provider puts all path and query parameter from HttpContext into the injectable WeblinkParamter
object.Constructor and Description |
---|
WeblinkProvider() |
Modifier and Type | Method and Description |
---|---|
com.sun.jersey.spi.inject.Injectable<WeblinkParameter> |
getInjectable(com.sun.jersey.core.spi.component.ComponentContext ic,
javax.ws.rs.core.Context a,
Type type) |
com.sun.jersey.core.spi.component.ComponentScope |
getScope() |
WeblinkParameter |
getValue(com.sun.jersey.api.core.HttpContext c)
Puts all path and query parameter from HttpContext into the injectable WeblinkParamter object
and returns it.
|
public com.sun.jersey.core.spi.component.ComponentScope getScope()
getScope
in interface com.sun.jersey.spi.inject.InjectableProvider<javax.ws.rs.core.Context,Type>
InjectableProvider.getScope()
public com.sun.jersey.spi.inject.Injectable<WeblinkParameter> getInjectable(com.sun.jersey.core.spi.component.ComponentContext ic, javax.ws.rs.core.Context a, Type type)
getInjectable
in interface com.sun.jersey.spi.inject.InjectableProvider<javax.ws.rs.core.Context,Type>
InjectableProvider.getInjectable(com.sun.jersey.core.spi.component.ComponentContext,
java.lang.annotation.Annotation, java.lang.Object)
public WeblinkParameter getValue(com.sun.jersey.api.core.HttpContext c)
getValue
in class com.sun.jersey.server.impl.inject.AbstractHttpContextInjectable<WeblinkParameter>
AbstractHttpContextInjectable.getValue(com.sun.jersey.api.core.HttpContext)
Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.