org.glassfish.jersey.examples.httpsclientservergrizzly
Class RootResource
java.lang.Object
org.glassfish.jersey.examples.httpsclientservergrizzly.RootResource
@Path(value="/")
public class RootResource
- extends Object
Simple resource demonstrating low level approach of getting user credentials.
Better way would be injecting SecurityContext.
- Author:
- Pavel Bucek (pavel.bucek at oracle.com)
|
Method Summary |
String |
get1(javax.ws.rs.core.HttpHeaders headers)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RootResource
public RootResource()
get1
@GET
public String get1(@Context
javax.ws.rs.core.HttpHeaders headers)
Copyright © 2007-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.