mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 07:57:13 +02:00
Break SessionSource out of SessionMetadata and rename it EppRequestSource.
The "SessionSource" has nothing to do with sessions (and it's often used in sessionless contexts). What it does indicate is the endpoint used to make the request. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=125295224
This commit is contained in:
parent
fd6c4888db
commit
2a3a3fbc30
25 changed files with 94 additions and 95 deletions
|
@ -21,15 +21,12 @@ public class StatelessRequestSessionMetadata extends SessionMetadata {
|
|||
|
||||
private final String clientId;
|
||||
private final Set<String> serviceExtensionUris;
|
||||
private final SessionSource sessionSource;
|
||||
|
||||
public StatelessRequestSessionMetadata(
|
||||
String clientId,
|
||||
Set<String> serviceExtensionUris,
|
||||
SessionSource source) {
|
||||
Set<String> serviceExtensionUris) {
|
||||
this.clientId = clientId;
|
||||
this.serviceExtensionUris = serviceExtensionUris;
|
||||
this.sessionSource = source;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
@ -42,11 +39,6 @@ public class StatelessRequestSessionMetadata extends SessionMetadata {
|
|||
return serviceExtensionUris;
|
||||
}
|
||||
|
||||
@Override
|
||||
public SessionSource getSessionSource() {
|
||||
return sessionSource;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void invalidate() {
|
||||
throw new UnsupportedOperationException();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue