Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 702 for java (0.17 sec)

  1. architecture-standards/0002-avoid-using-java-serialization.md

    ## Date
    
    2012-12-01
    
    ## Context
    
    In Gradle, we often need to serialize in-memory objects for caching or transmitting them across process barriers, etc.
    Java serialization is one way to implement this, however, despite its simplicity of implementation, it has several drawbacks:
    
    Plain Text
    - Registered: Wed Feb 14 11:36:15 GMT 2024
    - Last Modified: Thu Feb 08 21:48:27 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  2. okhttp-java-net-cookiejar/api/okhttp-java-net-cookiejar.api

    public final class okhttp3/java/net/cookiejar/JavaNetCookieJar : okhttp3/CookieJar {
    	public fun <init> (Ljava/net/CookieHandler;)V
    	public fun loadForRequest (Lokhttp3/HttpUrl;)Ljava/util/List;
    	public fun saveFromResponse (Lokhttp3/HttpUrl;Ljava/util/List;)V
    Plain Text
    - Registered: Fri Apr 19 11:42:09 GMT 2024
    - Last Modified: Mon Nov 20 16:20:29 GMT 2023
    - 264 bytes
    - Viewed (0)
  3. architecture/standards/0002-avoid-using-java-serialization.md

    Java serialization poses security risks, especially related to deserialization vulnerabilities.
    
    - **Version Compatibility:**
    With Java serialization, even minor changes to a class (like adding a field) can break compatibility.
    
    - **Cross-Language Compatibility:**
    Java serialization is inherently Java-centric and does not support cross-language scenarios well.
    
    - **Type Safety:**
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Thu Feb 29 22:32:18 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

    import android.annotation.SuppressLint
    import java.io.IOException
    import java.net.InetSocketAddress
    import java.net.Socket
    import java.security.GeneralSecurityException
    import java.security.KeyStore
    import java.security.Security
    import java.util.logging.Level
    import java.util.logging.Logger
    import javax.net.ssl.ExtendedSSLSession
    import javax.net.ssl.SNIHostName
    import javax.net.ssl.SSLContext
    import javax.net.ssl.SSLSocket
    Plain Text
    - Registered: Fri Apr 19 11:42:09 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (1)
  5. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiTypeProvider.kt

            "java.util.ArrayList" to "kotlin.collections.ArrayList",
            "java.util.Set" to "kotlin.collections.Set",
            "java.util.HashSet" to "kotlin.collections.HashSet",
            "java.util.LinkedHashSet" to "kotlin.collections.LinkedHashSet",
            "java.util.Map" to "kotlin.collections.Map",
            "java.util.Map.Entry" to "kotlin.collections.Map.Entry",
            "java.util.HashMap" to "kotlin.collections.HashMap",
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Tue Feb 06 19:56:10 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  6. maven-core/lifecycle-executor.txt

            <resources implementation="java.util.List">${project.resources}</resources>
            <repositories implementation="java.util.List">${project.repositories}</repositories>
            <remoteArtifactRepositories implementation="java.util.List">${project.remoteArtifactRepositories}</remoteArtifactRepositories>
            <appendedResourcesDirectory implementation="java.io.File">${basedir}/src/main/appended-resources</appendedResourcesDirectory>
    Plain Text
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Mon Jul 18 17:22:19 GMT 2022
    - 9.7K bytes
    - Viewed (0)
  7. samples/compare/src/test/kotlin/okhttp3/compare/JavaHttpClientTest.kt

    import assertk.assertions.isEqualTo
    import assertk.assertions.isNotNull
    import assertk.assertions.isNull
    import assertk.assertions.matches
    import java.net.http.HttpClient
    import java.net.http.HttpClient.Redirect.NORMAL
    import java.net.http.HttpRequest
    import java.net.http.HttpResponse.BodyHandlers
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import okhttp3.testing.PlatformRule
    Plain Text
    - Registered: Fri Apr 19 11:42:09 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt

     * limitations under the License.
     */
    package okhttp3.internal.http2
    
    import java.io.Closeable
    import java.io.IOException
    import java.net.InetSocketAddress
    import java.net.ServerSocket
    import java.net.Socket
    import java.util.concurrent.BlockingQueue
    import java.util.concurrent.Executors
    import java.util.concurrent.LinkedBlockingQueue
    import java.util.logging.Logger
    import okhttp3.TestUtil.threadFactory
    Plain Text
    - Registered: Fri Apr 19 11:42:09 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  9. okhttp-testing-support/src/main/kotlin/okhttp3/FakeProxySelector.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import java.io.IOException
    import java.net.Proxy
    import java.net.ProxySelector
    import java.net.SocketAddress
    import java.net.URI
    
    class FakeProxySelector : ProxySelector() {
      val proxies: MutableList<Proxy> = mutableListOf()
    
      fun addProxy(proxy: Proxy): FakeProxySelector {
    Plain Text
    - Registered: Fri Apr 19 11:42:09 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinInternalFilteringTest.kt

        ) + reportedMembersFor("AddedClass") + listOf(
            "Constructor" to "AddedClass(java.lang.String)",
            "Constructor" to "AddedClass()",
            "Class" to "AddedEnum",
            "Field" to "FOO"
        ) + reportedMembersFor("AddedEnum", isEnum = true) + listOf(
            "Method" to "AddedEnum.valueOf(java.lang.String)",
            "Method" to "AddedEnum.values()",
            "Class" to "AddedObject",
    Plain Text
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Jul 11 06:57:51 GMT 2023
    - 6.2K bytes
    - Viewed (0)
Back to top