Searched defs:cookie (Results 1 - 25 of 56) sorted by relevance

123

/openjdk7/jdk/src/share/classes/sun/misc/
H A DJavaNetHttpCookieAccess.java34 * retaining the original header String in the cookie itself.
39 * Returns the original header this cookie was consructed from, if it was
42 public String header(HttpCookie cookie); argument
/openjdk7/jdk/src/share/classes/java/net/
H A DCookiePolicy.java43 public boolean shouldAccept(URI uri, HttpCookie cookie) {
52 public boolean shouldAccept(URI uri, HttpCookie cookie) {
61 public boolean shouldAccept(URI uri, HttpCookie cookie) {
62 return HttpCookie.domainMatches(cookie.getDomain(), uri.getHost());
68 * Will be called to see whether or not this cookie should be accepted.
71 * @param cookie the HttpCookie object in question
72 * @return <tt>true</tt> if this cookie should be accepted;
75 public boolean shouldAccept(URI uri, HttpCookie cookie); argument
H A DCookieStore.java32 * A CookieStore object represents a storage for cookie. Can store and retrieve
37 * retrieve cookie for every outgoing HTTP request. A CookieStore
45 * Adds one HTTP cookie to the store. This is called for every
48 * <p>A cookie to store may or may not be associated with an URI. If it
49 * is not associated with an URI, the cookie's domain and path attribute
52 * where this cookie comes from.
54 * <p>If a cookie corresponding to the given URI already exists,
57 * @param uri the uri this cookie associated with.
58 * if <tt>null</tt>, this cookie will not be associated
60 * @param cookie th
67 add(URI uri, HttpCookie cookie) argument
118 remove(URI uri, HttpCookie cookie) argument
[all...]
H A DCookieManager.java40 * policy decisions on cookie acceptance/rejection.
42 * <p> The HTTP cookie management in java.net package looks like:
64 * CookieHandler is at the core of cookie management. User can call
70 * or not one cookie should be accepted and put into cookie store. User can use
76 * CookieStore is the place where any accepted HTTP cookie is stored in.
89 * <p>There're various ways user can hook up his own HTTP cookie management behavior, e.g.
130 * Create a new cookie manager.
132 * <p>This constructor will create new cookie manager with default
133 * cookie stor
355 shouldAcceptInternal(URI uri, HttpCookie cookie) argument
[all...]
H A DInMemoryCookieStore.java51 // CAUTION: when a cookie removed from main data structure (i.e. cookieJar),
53 // presence of cookie when retrieve one form index store.
73 * Add one cookie into cookie store.
75 public void add(URI uri, HttpCookie cookie) { argument
77 if (cookie == null) {
78 throw new NullPointerException("cookie is null");
84 // remove the ole cookie if there has had one
85 cookieJar.remove(cookie);
87 // add new cookie i
356 addIndex(Map<T, List<HttpCookie>> indexStore, T index, HttpCookie cookie) argument
[all...]
/openjdk7/jdk/test/java/net/CookieHandler/
H A DB6644726.java84 fail("We should have only 1 cookie, not " + clst.size());
87 fail("The cookie should be myCookie4, not " + clst.get(0));
105 fail("Got the secure cookie over a non secure link");
119 fail("Missing a cookie when using an empty path");
134 fail("Missing a cookie when using an empty path");
152 fail("A cookie with an invalid port list was accepted");
161 fail("Missing a cookie on port 80");
168 fail("Missing a cookie on port 80");
171 fail("A cookie with an invalid port list was returned");
184 // URI scheme was http: so we should get the cookie
197 isIn(List<String> lst, String cookie) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/naming/ldap/
H A DPagedResultsControl.java46 * byte[] cookie = null;
76 * cookie = prrc.getCookie();
85 * new PagedResultsControl(pageSize, cookie, Control.CRITICAL) });
86 * } while (cookie != null);
104 * cookie OCTET STRING
147 * page of results. The cookie is provided by the server and may be
151 * to zero and setting the cookie to the last cookie received from the
155 * @param cookie A possibly null server-generated cookie
164 PagedResultsControl(int pageSize, byte[] cookie, boolean criticality) argument
185 setEncodedValue(int pageSize, byte[] cookie) argument
[all...]
H A DPagedResultsResponseControl.java35 * and an opaque cookie. The cookie must be supplied to the next search
52 * cookie OCTET STRING
79 * A server-generated cookie.
83 private byte[] cookie; field in class:PagedResultsResponseControl
106 cookie = ber.parseOctetString(Ber.ASN_OCTET_STR, null);
119 * Retrieves the server-generated cookie. Null is returned when there are
122 * @return A possibly null server-generated cookie. It is not cloned - any
123 * changes to the cookie will update the control's state and thus
127 if (cookie
[all...]
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/legacy/connection/
H A DSocketFactoryContactInfoImpl.java63 SocketInfo cookie)
74 .getEndPointInfo(orb, effectiveTargetIOR, cookie);
58 SocketFactoryContactInfoImpl( ORB orb, CorbaContactInfoList contactInfoList, IOR effectiveTargetIOR, short addressingDisposition, SocketInfo cookie) argument
/openjdk7/hotspot/agent/src/os/solaris/proc/
H A Dsaproc_audit.cpp51 la_objopen(Link_map * lmp, Lmid_t lmid, uintptr_t * cookie) argument
54 libproc_cookie = cookie;
58 libc_cookie = cookie;
62 libsaproc_cookie = cookie;
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/naming/pcosnaming/
H A DServantManagerImpl.java88 CookieHolder cookie) throws ForwardRequest
104 java.lang.Object cookie, Servant servant)
87 preinvoke(byte[] oid, POA adapter, String operation, CookieHolder cookie) argument
103 postinvoke(byte[] oid, POA adapter, String operation, java.lang.Object cookie, Servant servant) argument
/openjdk7/jdk/src/share/classes/com/sun/jmx/mbeanserver/
H A DPerInterface.java69 Object getAttribute(Object resource, String attribute, Object cookie) argument
83 return introspector.invokeM(cm, resource, (Object[]) null, cookie);
87 Object cookie)
102 introspector.invokeSetter(attribute, cm, resource, value, cookie);
106 String[] signature, Object cookie)
113 cookie);
136 cookie);
138 return introspector.invokeM(found.method, resource, params, cookie);
164 Object cookie)
211 return introspector.invokeM(method, resource, params, cookie);
86 setAttribute(Object resource, String attribute, Object value, Object cookie) argument
105 invoke(Object resource, String operation, Object[] params, String[] signature, Object cookie) argument
162 noSuchMethod(String msg, Object resource, String operation, Object[] params, String[] signature, Object cookie) argument
[all...]
H A DMXBeanIntrospector.java114 Object cookie)
117 return m.invokeWithOpenReturn((MXBeanLookup) cookie, target, args);
122 Object cookie) {
133 v = m.fromOpenParameter((MXBeanLookup) cookie, value, paramNo);
113 invokeM2(ConvertingMethod m, Object target, Object[] args, Object cookie) argument
121 validParameter(ConvertingMethod m, Object value, int paramNo, Object cookie) argument
H A DStandardMBeanIntrospector.java109 Object invokeM2(Method m, Object target, Object[] args, Object cookie) argument
116 boolean validParameter(Method m, Object value, int paramNo, Object cookie) { argument
/openjdk7/hotspot/src/share/tools/hsdis/
H A Dhsdis-demo.c126 static void* handle_event(void* cookie, const char* event, void* arg) { argument
128 if (cookie != event_cookie)
129 printf("*** bad event cookie %p != %p\n", cookie, event_cookie);
/openjdk7/jaxp/src/org/w3c/dom/html/
H A DHTMLDocument.java136 public void setCookie(String cookie); argument
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/jxc/gen/config/
H A DNGCCHandler.java79 * @param cookie
80 * The cookie value passed to the child object
88 protected abstract void onChildCompleted( Object result, int cookie, boolean needAttCheck ) throws SAXException; argument
131 public void revertToParentFromEnterElement( Object result, int cookie, argument
135 _parent.onChildCompleted(result,cookie,true);
138 public void revertToParentFromLeaveElement( Object result, int cookie, argument
148 _parent.onChildCompleted(result,cookie,true);
151 public void revertToParentFromEnterAttribute( Object result, int cookie, argument
155 _parent.onChildCompleted(result,cookie,true);
158 public void revertToParentFromLeaveAttribute( Object result, int cookie, argument
165 revertToParentFromText( Object result, int cookie, String text ) argument
[all...]
H A DClasses.java51 public Classes(NGCCHandler parent, NGCCEventSource source, NGCCRuntimeEx runtime, int cookie) { argument
52 super(source, parent, cookie);
319 public void onChildCompleted(Object result, int cookie, boolean needAttCheck)throws SAXException { argument
320 switch(cookie) {
H A DConfig.java53 public Config(NGCCHandler parent, NGCCEventSource source, NGCCRuntimeEx runtime, int cookie) { argument
54 super(source, parent, cookie);
295 public void onChildCompleted(Object result, int cookie, boolean needAttCheck)throws SAXException { argument
296 switch(cookie) {
H A DSchema.java49 public Schema(NGCCHandler parent, NGCCEventSource source, NGCCRuntimeEx runtime, int cookie, File _baseDir) { argument
50 super(source, parent, cookie);
312 public void onChildCompleted(Object result, int cookie, boolean needAttCheck)throws SAXException { argument
313 switch(cookie) {
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/xsom/impl/parser/state/
H A DNGCCHandler.java79 * @param cookie
80 * The cookie value passed to the child object
88 protected abstract void onChildCompleted( Object result, int cookie, boolean needAttCheck ) throws SAXException; argument
131 public void revertToParentFromEnterElement( Object result, int cookie, argument
135 _parent.onChildCompleted(result,cookie,true);
138 public void revertToParentFromLeaveElement( Object result, int cookie, argument
148 _parent.onChildCompleted(result,cookie,true);
151 public void revertToParentFromEnterAttribute( Object result, int cookie, argument
155 _parent.onChildCompleted(result,cookie,true);
158 public void revertToParentFromLeaveAttribute( Object result, int cookie, argument
165 revertToParentFromText( Object result, int cookie, String text ) argument
[all...]
H A Dqname.java57 public qname(NGCCHandler parent, NGCCEventSource source, NGCCRuntimeEx runtime, int cookie) { argument
58 super(source, parent, cookie);
H A Dqualification.java57 public qualification(NGCCHandler parent, NGCCEventSource source, NGCCRuntimeEx runtime, int cookie) { argument
58 super(source, parent, cookie);
H A DSimpleType_List.java62 public SimpleType_List(NGCCHandler parent, NGCCEventSource source, NGCCRuntimeEx runtime, int cookie, AnnotationImpl _annotation, Locator _locator, ForeignAttributesImpl _fa, String _name, Set _finalSet) { argument
63 super(source, parent, cookie);
/openjdk7/jdk/src/solaris/native/sun/awt/
H A Dawt_mgrsel.c44 void *cookie; member in struct:AwtMgrsel
108 void *cookie,
172 mgrsel->cookie = cookie;
326 (*mgrsel->callback_owner)(scr, owner, data, mgrsel->cookie);
363 (*mgrsel->callback_owner)(scr, None, NULL, mgrsel->cookie);
410 (*mgrsel->callback_event)(scr, ev, mgrsel->cookie);
107 awt_mgrsel_select(const char *selname, long extra_mask, void *cookie, void (*callback_event)(int, XEvent *, void *), void (*callback_owner)(int, Window, long *, void *)) argument

Completed in 798 milliseconds

123