[DEV] add model to get in query
This commit is contained in:
parent
1b71740b84
commit
fb821b3e36
@ -4,6 +4,8 @@ import java.lang.reflect.Method;
|
|||||||
import javax.annotation.security.DenyAll;
|
import javax.annotation.security.DenyAll;
|
||||||
import javax.annotation.security.PermitAll;
|
import javax.annotation.security.PermitAll;
|
||||||
import javax.annotation.security.RolesAllowed;
|
import javax.annotation.security.RolesAllowed;
|
||||||
|
|
||||||
|
import org.kar.karideo.annotation.PermitTokenInURI;
|
||||||
import org.kar.karideo.model.User;
|
import org.kar.karideo.model.User;
|
||||||
import org.kar.karideo.model.UserSmall;
|
import org.kar.karideo.model.UserSmall;
|
||||||
|
|
||||||
@ -84,6 +86,11 @@ public class AuthenticationFilter implements ContainerRequestFilter {
|
|||||||
System.out.println(" param: " + item.getKey() + " ==>" + item.getValue());
|
System.out.println(" param: " + item.getKey() + " ==>" + item.getValue());
|
||||||
}
|
}
|
||||||
System.out.println(" -------------------------------");
|
System.out.println(" -------------------------------");
|
||||||
|
MultivaluedMap<String, String> quaryparam = requestContext.getUriInfo().getQueryParameters();
|
||||||
|
for (Entry<String, List<String>> item: quaryparam.entrySet()) {
|
||||||
|
System.out.println(" query: " + item.getKey() + " ==>" + item.getValue());
|
||||||
|
}
|
||||||
|
System.out.println(" -------------------------------");
|
||||||
MultivaluedMap<String, String> headers = requestContext.getHeaders();
|
MultivaluedMap<String, String> headers = requestContext.getHeaders();
|
||||||
for (Entry<String, List<String>> item: headers.entrySet()) {
|
for (Entry<String, List<String>> item: headers.entrySet()) {
|
||||||
System.out.println(" headers: " + item.getKey() + " ==>" + item.getValue());
|
System.out.println(" headers: " + item.getKey() + " ==>" + item.getValue());
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package org.kar.karideo;
|
package org.kar.karideo.annotation;
|
||||||
|
|
||||||
import javax.ws.rs.NameBinding;
|
import javax.ws.rs.NameBinding;
|
||||||
import java.lang.annotation.Retention;
|
import java.lang.annotation.Retention;
|
@ -4,8 +4,8 @@ import org.glassfish.jersey.media.multipart.FormDataContentDisposition;
|
|||||||
import org.glassfish.jersey.media.multipart.FormDataParam;
|
import org.glassfish.jersey.media.multipart.FormDataParam;
|
||||||
import org.kar.karideo.ConfigVariable;
|
import org.kar.karideo.ConfigVariable;
|
||||||
import org.kar.karideo.GenericContext;
|
import org.kar.karideo.GenericContext;
|
||||||
import org.kar.karideo.PermitTokenInURI;
|
|
||||||
import org.kar.karideo.WebLauncher;
|
import org.kar.karideo.WebLauncher;
|
||||||
|
import org.kar.karideo.annotation.PermitTokenInURI;
|
||||||
import org.kar.karideo.db.DBEntry;
|
import org.kar.karideo.db.DBEntry;
|
||||||
import org.kar.karideo.model.Data;
|
import org.kar.karideo.model.Data;
|
||||||
import org.kar.karideo.model.DataSmall;
|
import org.kar.karideo.model.DataSmall;
|
||||||
|
Loading…
Reference in New Issue
Block a user