- Sort Score
- Result 10 results
- Languages All
Results 11 - 16 of 16 for setCookies (0.21 sec)
-
src/main/java/org/codelibs/fess/helper/UserInfoHelper.java
} protected String getUserCodeFromCookie(final HttpServletRequest request) { final FessConfig fessConfig = ComponentUtil.getFessConfig(); final Cookie[] cookies = request.getCookies(); if (cookies != null) { for (final Cookie cookie : cookies) { if (cookieName.equals(cookie.getName()) && fessConfig.isValidUserCode(cookie.getValue())) {
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 8.5K bytes - Viewed (0) -
src/net/http/cookie.go
cookies = append(cookies, cookie) } } return cookies } // SetCookie adds a Set-Cookie header to the provided [ResponseWriter]'s headers. // The provided cookie must have a valid Name. Invalid cookies may be // silently dropped. func SetCookie(w ResponseWriter, cookie *Cookie) { if v := cookie.String(); v != "" { w.Header().Add("Set-Cookie", v) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:33:05 UTC 2024 - 13.9K bytes - Viewed (0) -
src/net/http/cookie_test.go
} func (ho headerOnlyResponseWriter) WriteHeader(int) { panic("NOIMPL") } func TestSetCookie(t *testing.T) { m := make(Header) SetCookie(headerOnlyResponseWriter(m), &Cookie{Name: "cookie-1", Value: "one", Path: "/restricted/"}) SetCookie(headerOnlyResponseWriter(m), &Cookie{Name: "cookie-2", Value: "two", MaxAge: 3600}) if l := len(m["Set-Cookie"]); l != 2 { t.Fatalf("expected %d cookies, got %d", 2, l) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:33:05 UTC 2024 - 26.2K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"Handler.Stderr", Field, 7}, {"Request", Func, 0}, {"RequestFromMap", Func, 0}, {"Serve", Func, 0}, }, "net/http/cookiejar": { {"(*Jar).Cookies", Method, 1}, {"(*Jar).SetCookies", Method, 1}, {"Jar", Type, 1}, {"New", Func, 1}, {"Options", Type, 1}, {"Options.PublicSuffixList", Field, 1}, {"PublicSuffixList", Type, 1}, }, "net/http/fcgi": {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
api/go1.txt
pkg net/http, type Cookie struct, Unparsed []string pkg net/http, type Cookie struct, Value string pkg net/http, type CookieJar interface { Cookies, SetCookies } pkg net/http, type CookieJar interface, Cookies(*url.URL) []*Cookie pkg net/http, type CookieJar interface, SetCookies(*url.URL, []*Cookie) pkg net/http, type Dir string pkg net/http, type File interface { Close, Read, Readdir, Seek, Stat }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0) -
api/go1.1.txt
pkg net/http/cookiejar, func New(*Options) (*Jar, error) pkg net/http/cookiejar, method (*Jar) Cookies(*url.URL) []*http.Cookie pkg net/http/cookiejar, method (*Jar) SetCookies(*url.URL, []*http.Cookie) pkg net/http/cookiejar, type Jar struct pkg net/http/cookiejar, type Options struct pkg net/http/cookiejar, type Options struct, PublicSuffixList PublicSuffixList
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 31 20:37:15 UTC 2022 - 2.6M bytes - Viewed (0)