You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding @transient to the start of line on code highlighted here results in a .class that generates the following output from javap:
BTopping-MPro:akka-http btopping$ javap akka-http-core/target/scala-2.11/classes/akka/http/scaladsl/model/HttpMethods$.classCompiled from "HttpMethod.scala"
public finalclassakka.http.scaladsl.model.HttpMethods$ implements akka.http.impl.util.ObjectRegistry<java.lang.String, akka.http.scaladsl.model.HttpMethod> {
public static final akka.http.scaladsl.model.HttpMethods$ MODULE$;
public static {};
*public scala.collection.immutable.Map akka$http$impl$util$ObjectRegistry$$_registry();*
public void akka$http$impl$util$ObjectRegistry$$_registry_$eq(scala.collection.immutable.Map);
public final java.lang.Object register(java.lang.Object, java.lang.Object);
public scala.Option getForKey(java.lang.Object);
public scala.Option<akka.http.scaladsl.model.HttpMethod> getForKeyCaseInsensitive(java.lang.String, scala.Predef$$less$colon$less<java.lang.String, java.lang.String>);
public akka.http.scaladsl.model.HttpMethodCONNECT();
public akka.http.scaladsl.model.HttpMethodDELETE();
public akka.http.scaladsl.model.HttpMethodGET();
public akka.http.scaladsl.model.HttpMethodHEAD();
public akka.http.scaladsl.model.HttpMethodOPTIONS();
public akka.http.scaladsl.model.HttpMethodPATCH();
public akka.http.scaladsl.model.HttpMethodPOST();
public akka.http.scaladsl.model.HttpMethodPUT();
public akka.http.scaladsl.model.HttpMethodTRACE();
}
The line in bold should have the transient modifier.
Please let me know if there's anything I can provide!
The text was updated successfully, but these errors were encountered:
$ javap -p OR
public classOR implements ObjectRegistry {
private transient java.lang.StringObjectRegistry$$_registry;
public java.lang.StringObjectRegistry$$_registry();
public void ObjectRegistry$$_registry_$eq(java.lang.String);
public OR();
}
Adding
@transient
to the start of line on code highlighted here results in a.class
that generates the following output fromjavap
:The line in bold should have the
transient
modifier.Please let me know if there's anything I can provide!
The text was updated successfully, but these errors were encountered: