@Provider @InterfaceAudience.Private public class UserProvider extends com.sun.jersey.server.impl.inject.AbstractHttpContextInjectable<Principal> implements com.sun.jersey.spi.inject.InjectableProvider<javax.ws.rs.core.Context,Type>
Modifier and Type | Field and Description |
---|---|
static String |
USER_NAME_PARAM |
static String |
USER_PATTERN_DEFAULT |
static String |
USER_PATTERN_KEY |
Constructor and Description |
---|
UserProvider() |
Modifier and Type | Method and Description |
---|---|
com.sun.jersey.spi.inject.Injectable |
getInjectable(com.sun.jersey.core.spi.component.ComponentContext componentContext,
javax.ws.rs.core.Context context,
Type type) |
com.sun.jersey.core.spi.component.ComponentScope |
getScope() |
static Pattern |
getUserPattern() |
Principal |
getValue(com.sun.jersey.api.core.HttpContext httpContext) |
static void |
setUserPattern(String pattern) |
public static final String USER_NAME_PARAM
public static final String USER_PATTERN_KEY
public static final String USER_PATTERN_DEFAULT
public static void setUserPattern(String pattern)
public static Pattern getUserPattern()
public Principal getValue(com.sun.jersey.api.core.HttpContext httpContext)
getValue
in class com.sun.jersey.server.impl.inject.AbstractHttpContextInjectable<Principal>
public com.sun.jersey.core.spi.component.ComponentScope getScope()
getScope
in interface com.sun.jersey.spi.inject.InjectableProvider<javax.ws.rs.core.Context,Type>
public com.sun.jersey.spi.inject.Injectable getInjectable(com.sun.jersey.core.spi.component.ComponentContext componentContext, javax.ws.rs.core.Context context, Type type)
getInjectable
in interface com.sun.jersey.spi.inject.InjectableProvider<javax.ws.rs.core.Context,Type>
Copyright © 2013 Apache Software Foundation. All rights reserved.